tokens fr
This commit is contained in:
@@ -60,7 +60,4 @@ const App = () => (
|
||||
</Router>
|
||||
);
|
||||
|
||||
// todo: fix this
|
||||
(Cookies.get("token") == null ? api.whoami.post() : Promise.resolve()).then(
|
||||
() => render(App, document.getElementById("app")!)
|
||||
);
|
||||
api.whoami.post().then(() => render(App, document.getElementById("app")!));
|
||||
|
||||
Reference in New Issue
Block a user