Skip to content

Commit

Permalink
chore: adjust style
Browse files Browse the repository at this point in the history
  • Loading branch information
takaishi committed Nov 20, 2024
1 parent 52d27f1 commit b835a92
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions src/pages/[eventAbbr]/ui/admin/check_in_event/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,23 @@ const IndexMain = () => {
<Layout title={event.name} event={event}>
<Typography variant="h5">
イベント受付 ({event.abbr.toUpperCase()})
<Select
value={selectedPrinter ? selectedPrinter.id : 'default'}
onChange={handleSelectChange}
>
<MenuItem value="default">プリンターを選択</MenuItem>
{printers.map((printer) => {
return <MenuItem value={printer.id}>{printer.name}</MenuItem>
})}
</Select>
)
</Typography>
<CheckIn checkInType={'event'} eventAbbr={event.abbr} printerId={selectedPrinter?.id} />
(
<Select
value={selectedPrinter ? selectedPrinter.id : 'default'}
onChange={handleSelectChange}
>
<MenuItem value="default">プリンターを選択</MenuItem>
{printers.map((printer) => {
return <MenuItem value={printer.id}>{printer.name}</MenuItem>
})}
</Select>
)
<CheckIn
checkInType={'event'}
eventAbbr={event.abbr}
printerId={selectedPrinter?.id}
/>
</Layout>
)
} else {
Expand Down

0 comments on commit b835a92

Please sign in to comment.