Skip to content

Commit 46639ce

Browse files
committed
frontend: fix error that caused page to crash after reload.
1 parent 0270151 commit 46639ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/charger_list.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export class ChargerListComponent extends Component<{}, ChargerListComponentStat
9191
}
9292

9393
async get_decrypted_secret() {
94+
await sodium.ready;
9495
const t = i18n.t;
9596
const get_secret_resp = await fetch(BACKEND + "/user/get_secret", {
9697
credentials: "include"

0 commit comments

Comments
 (0)