Update react app

This commit is contained in:
Lakhan Samani
2023-12-26 21:08:12 +05:30
parent ed3100c179
commit 59ed4e273f
6 changed files with 13 additions and 13 deletions

View File

@@ -27,13 +27,13 @@ export default function App() {
if (redirectURL) {
urlProps.redirectURL = redirectURL;
} else {
urlProps.redirectURL = window.location.origin + '/app';
urlProps.redirectURL = window.location.href;
}
const globalState: Record<string, string> = {
...window['__authorizer__'],
...urlProps,
};
console.log({ globalState });
return (
<div
style={{