on ffffc3c help sign in
bridge/src/components/L2Header.tsx
20 lines 351 B history raw
1import useRoller from 'lib/useRoller';
2import { useEffect } from 'react';
4const L2Header = () => {
5 const { config } = useRoller();
7 useEffect(() => {
8 console.log('loaded config in L2Header:', config);
9 }, [config]);
11 return (
12 config && (
13 <>
14 <span>L2 Config Loaded</span>
15 </>
16 )
17 );
18};
20export default L2Header;