Created
April 6, 2021 15:05
-
-
Save azeezat/c1b7fd143b8d77252b83e35fbf5f76d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ProtectedRoutes from "../routes/ProtectedRoutes"; | |
function MyApp({ Component, pageProps,router }) { | |
return ( | |
<ProtectedRoutes router={router}> | |
<Component {...pageProps} /> | |
</ProtectedRoutes> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment