We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can call game.finish() or game.finish(player) but if I call game.finish(player, 'foo') then the app crashes with this stack trace:
game.finish()
game.finish(player)
game.finish(player, 'foo')
The text was updated successfully, but these errors were encountered:
The string argument is not a string to be displayed to the users, but the identifier for the render, you need to implement this in ui/index.tsx:
render(setup, { // ... you will have a bunch of stuff here announcements: { foo: game => { return ( <> <h1>Bar</h1> </> ); } }, });
Sorry, something went wrong.
No branches or pull requests
I can call
game.finish()
orgame.finish(player)
but if I callgame.finish(player, 'foo')
then the app crashes with this stack trace:The text was updated successfully, but these errors were encountered: