debugging
This commit is contained in:
@ -29,7 +29,9 @@ export const ProtectedRoute: Component<{ children?: JSX.Element }> = (
|
|||||||
throw new Error("unreachable");
|
throw new Error("unreachable");
|
||||||
}
|
}
|
||||||
|
|
||||||
saveToken(token);
|
saveToken(token)
|
||||||
|
.then(() => console.log("Saved token!!!"))
|
||||||
|
.catch((e) => console.error(e));
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Reference in New Issue
Block a user