Skip to content

Commit

Permalink
Better dom structure on dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Feb 7, 2024
1 parent ace5fbd commit f4e57bf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/game/quest-event-display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ export function QuestEventDisplay({
>
<DialogTitle id="quest-event-title">Quest Event</DialogTitle>

<DialogContent>
<DialogContentText id="quest-event-description">
{message &&
message.map((str, i) => (
<Typography key={`${i}`}>{str}</Typography>
))}
</DialogContentText>
<DialogContent id="quest-event-description">
{message &&
message.map((str, i) => (
<DialogContentText key={`${i}`}>{str}</DialogContentText>
))}
</DialogContent>
<DialogActions>
<Button
Expand Down

0 comments on commit f4e57bf

Please sign in to comment.