Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
must108 committed Aug 16, 2024
1 parent 87904f1 commit 5f50901
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/app/_components/dashboard/devices/AddDeviceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ export default function AddDeviceDialog({ refetch }: { refetch: () => void }) {
</Dialog.Trigger>
<Dialog.Content maxWidth={"400px"}>
<Dialog.Title>
Add A New Device
Add A New Device
</Dialog.Title>

<Flex direction={"column"} gap={"2"}>
<Text size={"3"}>
Device Name
Device Name
</Text>
<TextField.Root
value={deviceName}
Expand Down Expand Up @@ -140,7 +140,7 @@ export default function AddDeviceDialog({ refetch }: { refetch: () => void }) {
disabled={addingDevice}
variant="solid"
>
Add Device
Add Device
</Button>
</div>
</Flex>
Expand Down
8 changes: 4 additions & 4 deletions src/app/_components/dashboard/devices/EditDeviceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ export default function EditDeviceDialog({
</Dialog.Trigger>
<Dialog.Content maxWidth={"400px"}>
<Dialog.Title>
Edit Your Device
Edit Your Device
</Dialog.Title>

<Flex direction={"column"} gap={"2"}>
<Text size={"3"}>
Device Name
Device Name
</Text>
<div className="relative flex w-full
flex-row items-center justify-end">
Expand All @@ -154,7 +154,7 @@ export default function EditDeviceDialog({
</div>

<Text size={"3"}>
Device Type
Device Type
</Text>
<Select.Root
onValueChange={(e) =>
Expand Down Expand Up @@ -195,7 +195,7 @@ export default function EditDeviceDialog({
disabled={editingDevice}
variant="solid"
>
Save
Save
</Button>
</div>
</Flex>
Expand Down
6 changes: 3 additions & 3 deletions src/app/_components/dashboard/groups/CreateGroupDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ export default function CreateGroupDialog({
</Dialog.Trigger>
<Dialog.Content maxWidth={"400px"}>
<Dialog.Title>
Add A New Group
Add A New Group
</Dialog.Title>

<Flex direction={"column"} gap={"2"}>
<Text size={"3"}>
Group Name
Group Name
</Text>
<TextField.Root
value={groupName}
Expand Down Expand Up @@ -111,7 +111,7 @@ export default function CreateGroupDialog({
disabled={addingGroup}
variant="solid"
>
Add Group
Add Group
</Button>
</div>
</Flex>
Expand Down
4 changes: 2 additions & 2 deletions src/app/_components/dashboard/groups/EditGroupDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default function EditGroupDialog({ refetch, groupId }: EditGroupProps) {

<Flex direction={"column"} gap={"2"}>
<Text size={"3"}>
Group Name
Group Name
</Text>
<div className="relative flex w-full
flex-row items-center justify-end">
Expand All @@ -150,7 +150,7 @@ export default function EditGroupDialog({ refetch, groupId }: EditGroupProps) {
</div>

<Text size={"3"}>
Group Description
Group Description
</Text>
<div className="relative flex w-full
flex-row items-center justify-end">
Expand Down

0 comments on commit 5f50901

Please sign in to comment.