Skip to content

Commit

Permalink
shell: Make state.jsx strict.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Nov 21, 2024
1 parent a22fc23 commit 12fd679
Show file tree
Hide file tree
Showing 3 changed files with 333 additions and 286 deletions.
2 changes: 1 addition & 1 deletion pkg/shell/shell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const SkipLink = ({ focus_id, children }) => {

const Shell = () => {
const current_user = useLoggedInUser()?.name || "";
const state = useInit(() => ShellState());
const state = useInit(() => new ShellState());
const idle_state = useInit(() => IdleTimeoutState());
const host_modal_state = useInit(() => HostModalState());

Expand Down
Loading

0 comments on commit 12fd679

Please sign in to comment.