({ children }: { children: React.ReactNode })
| 156 | ]) |
| 157 | |
| 158 | const LoadingScreen = ({ children }: { children: React.ReactNode }) => { |
| 159 | return ( |
| 160 | <div className="h-screen w-screen flex flex-col items-center justify-center gap-4"> |
| 161 | <ImSpinner8 className="w-8 h-8 animate-spin text-blue-500" /> |
| 162 | <div className="text-gray-600 text-center" style={{ minHeight: `100px` }}> |
| 163 | {children} |
| 164 | </div> |
| 165 | </div> |
| 166 | ) |
| 167 | } |
| 168 | |
| 169 | const App = () => { |
| 170 | const [showMenu, setShowMenu] = useState(false) |
nothing calls this directly
no outgoing calls
no test coverage detected