Skip to content

Commit

Permalink
revert: change import of useWarnings hook (#18441)
Browse files Browse the repository at this point in the history
This reverts commit 2adab05.
  • Loading branch information
przemvs authored Dec 6, 2024
1 parent 5f1e15e commit 02854ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/page/AppMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export const AppMain: FC<AppMainProps> = ({

useInitializeRootFontSize();

const {showSmallOffset, showLargeOffset} = useWarnings();

if (!apiContext) {
throw new Error('API Context has not been set');
}
Expand All @@ -112,8 +114,6 @@ export const AppMain: FC<AppMainProps> = ({
'viewMode',
]);

const {showSmallOffset, showLargeOffset} = useWarnings();

const teamState = container.resolve(TeamState);
const userState = container.resolve(UserState);

Expand Down

0 comments on commit 02854ae

Please sign in to comment.