Skip to content

Commit

Permalink
style: apply yarn pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Feb 13, 2025
1 parent d9e2850 commit 7c98844
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { UpdateNotificationSettingsSchema } from '@/app/api/_schemas/RequestSchemas';
import { GetNotificationSettingsResponse } from '@/app/api/_schemas/ResponseSchemas';
import Checkbox from '@mui/material/Checkbox';
import SaveAltIcon from '@mui/icons-material/SaveAlt';
import {
Button,
Container,
Expand All @@ -9,8 +7,10 @@ import {
TextField,
Typography,
} from '@mui/material';
import Checkbox from '@mui/material/Checkbox';
import { useForm } from 'react-hook-form';
import SaveAltIcon from '@mui/icons-material/SaveAlt';
import type { UpdateNotificationSettingsSchema } from '@/app/api/_schemas/RequestSchemas';
import type { GetNotificationSettingsResponse } from '@/app/api/_schemas/ResponseSchemas';

const DiscordNotificationSettings = (props: {
currentSettings: GetNotificationSettingsResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/app/(authed)/(standard)/users/[userId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Box, Stack } from '@mui/material';
import useSWR from 'swr';
import ErrorModal from '@/app/_components/ErrorModal';
import LoadingCircular from '@/app/_components/LoadingCircular';
import DiscordNotificationSettings from './_components/DiscordNotificationSettings';
import LinkDiscordButton from './_components/LinkDiscordButton';
import UnlinkDiscordButton from './_components/UnlinkDiscordButton';
import UserInformation from './_components/UserInformation';
Expand All @@ -13,7 +14,6 @@ import type {
GetUsersResponse,
} from '@/app/api/_schemas/ResponseSchemas';
import type { Either } from 'fp-ts/lib/Either';
import DiscordNotificationSettings from './_components/DiscordNotificationSettings';

const Home = ({ params }: { params: { userId: string } }) => {
const { data, isLoading } = useSWR<Either<ErrorResponse, GetUsersResponse>>(
Expand Down

0 comments on commit 7c98844

Please sign in to comment.