Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bone-house committed Sep 1, 2023
1 parent 813006d commit 3aecbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gamba-react-ui/src/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Content({ children }: PropsWithChildren) {
const { modal, setModal } = useGambaUi()

useGambaError((err) => {
if (err === GambaError.PLAY_WITHOUT_CONNECTED) {
if (err.message === GambaError.PLAY_WITHOUT_CONNECTED) {
setModal(true)
}
})
Expand Down

1 comment on commit 3aecbe4

@vercel
Copy link

@vercel vercel bot commented on 3aecbe4 Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gamba-demo – ./apps/demo

gamba-demo-gamba.vercel.app
gamba-demo.vercel.app
gamba-demo-git-main-gamba.vercel.app

Please sign in to comment.