Skip to content

Commit 8f717b8

Browse files
committed
fix race condition
1 parent cbe3276 commit 8f717b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/nar-v3/src/main.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ export default function App(props) {
119119

120120
}
121121

122-
function renderApp(auth) {
123-
checkPermissions(auth);
122+
async function renderApp(auth) {
123+
await checkPermissions(auth);
124124
ReactDOM.createRoot(document.getElementById("root")).render(
125125
<App auth={auth} />
126126
);

0 commit comments

Comments
 (0)