Skip to content

Commit

Permalink
redirect success
Browse files Browse the repository at this point in the history
  • Loading branch information
iibarbari committed Nov 5, 2024
1 parent 0e1e31c commit 5d8906b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
justify-content: center;
overflow: hidden;
position: absolute;
z-index: 2;
}

.spinner {
Expand All @@ -24,6 +25,7 @@
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
z-index: 3;
}
}
}
6 changes: 3 additions & 3 deletions frontend/src/components/Bootstrap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type State = {

export default function Bootstrap() {
const [isAlreadyBootstrapped, setIsAlreadyBootstrapped] = useState<boolean>(false);
const [isBootstrapped, setIsBootstrapped] = useState<boolean>(false);
const [isBootstrapped, setIsBootstrapped] = useState<boolean>(true);
const { showBoundary } = useErrorBoundary();
const initialized = useRef(false);
const [state, setState] = useState<State>({ isInProgress: true, isSubmitInProgress: false });
Expand Down Expand Up @@ -124,8 +124,8 @@ export default function Bootstrap() {
</p>

<div className={styles.buttonGroup}>
<Link className="button button-lg button-blue" to="/sign-up">
Sign up to create dashboard
<Link className="button button-lg button-blue" to="/sites">
Go to dashboard
</Link>
</div>
</div>
Expand Down

0 comments on commit 5d8906b

Please sign in to comment.