0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-29 01:28:59 -05:00

fix: security accerdion

This commit is contained in:
Elias Schneider 2022-10-11 08:55:30 +02:00
parent 43519d9f26
commit 8c2c930153

View file

@ -114,10 +114,9 @@ const CreateUploadModalBody = ({
]}
/>
<Accordion>
<Accordion.Item
value="Security options"
sx={{ borderBottom: "none" }}
>
<Accordion.Item value="security" sx={{ borderBottom: "none" }}>
<Accordion.Control>Security options</Accordion.Control>
<Accordion.Panel>
<Stack align="stretch">
<PasswordInput
variant="filled"
@ -125,7 +124,6 @@ const CreateUploadModalBody = ({
label="Password protection"
{...form.getInputProps("password")}
/>
<NumberInput
min={1}
type="number"
@ -135,6 +133,7 @@ const CreateUploadModalBody = ({
{...form.getInputProps("maxViews")}
/>
</Stack>
</Accordion.Panel>
</Accordion.Item>
</Accordion>
<Button type="submit">Share</Button>