({ children })
| 21 | }); |
| 22 | |
| 23 | const AaaProvider: FC<PropsWithChildren> = ({ children }) => { |
| 24 | const [aaa, setAaa] = useState(0); |
| 25 | |
| 26 | return ( |
| 27 | <aaaContext.Provider |
| 28 | value={{ |
| 29 | aaa, |
| 30 | setAaa |
| 31 | }} |
| 32 | > |
| 33 | {children} |
| 34 | </aaaContext.Provider> |
| 35 | ); |
| 36 | }; |
| 37 | |
| 38 | const BbbProvider: FC<PropsWithChildren> = ({ children }) => { |
| 39 | const [bbb, setBbb] = useState(0); |
nothing calls this directly
no test coverage detected