Merge pull request #1312 from spotify/rugvip/idp

packages/core-api: refactor App API to make room for a sign-in page and IdentityApi implementation
This commit is contained in:
Patrik Oldsberg
2020-06-17 11:43:22 +02:00
committed by GitHub
8 changed files with 297 additions and 67 deletions
@@ -26,13 +26,16 @@ const app = createApp({
});
const AppProvider = app.getProvider();
const AppComponent = app.getRootComponent();
const AppRouter = app.getRouter();
const AppRoutes = app.getRoutes();
const App: FC<{}> = () => {
useStyles();
return (
<AppProvider>
<AppComponent />
<AppRouter>
<AppRoutes />
</AppRouter>
</AppProvider>
);
};