Skip to content

Commit

Permalink
🚑 - fix: fix a bug that prevent the message in a prompt to be rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Sep 6, 2024
1 parent 615d81a commit e75ec84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/dialog/useprompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const usePrompt = () => {
dialog(
title,
<>
{typeof message === "string" ? <P>message</P> : message}
{typeof message === "string" ? <P>{message}</P> : message}
<Form
fields={[{ label, name: "message", required: true }]}
labelSubmit={labelConfirm}
Expand Down

0 comments on commit e75ec84

Please sign in to comment.