Skip to content

Commit bde17b5

Browse files
author
nonbots
committed
conformance/index move updateInitialConformanceState above useEffect
1 parent d32e8c2 commit bde17b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/conformance/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default function Conformance() {
2727
>(null);
2828

2929
const urlState = createUrlState(location.search);
30+
const resolvedState = updateInitialConformanceState(urlState, location.state);
3031

3132
// Initial Render useEffect
3233
React.useEffect(() => {
@@ -68,8 +69,6 @@ export default function Conformance() {
6869
);
6970
}, []);
7071

71-
const resolvedState = updateInitialConformanceState(urlState, location.state);
72-
7372
return (
7473
<Layout title="Conformance" description="Boa Conformance Page">
7574
<main className={styles.mainLayout}>

0 commit comments

Comments
 (0)