Skip to content

Commit

Permalink
Fix missing panel label
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jan 16, 2024
1 parent e328d8c commit 387b5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viser/client/src/WebsocketInterface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function useMessageHandler() {
}
// Set the GUI panel label.
case "SetGuiPanelLabelMessage": {
viewer.useGui.setState({ label: message.label ?? undefined });
viewer.useGui.setState({ label: message.label ?? "" });
return;
}
// Configure the theme.
Expand Down

0 comments on commit 387b5da

Please sign in to comment.