Skip to content

Commit 4d08336

Browse files
committed
style: reformat codebase
1 parent eed152c commit 4d08336

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/(admin)/(question-management)/questions/_components/create.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
DialogTitle,
1111
DialogTrigger,
1212
} from "@/components/ui/dialog";
13+
import { graphql } from "@/gql";
1314
import { QuestionDifficulty } from "@/gql/graphql";
1415
import { useDialogCloseConfirmation } from "@/hooks/use-dialog-close-confirmation";
1516
import { useMutation, useSuspenseQuery } from "@apollo/client/react";
@@ -19,7 +20,6 @@ import { toast } from "sonner";
1920
import { QUESTION_CREATE_MUTATION } from "./mutation";
2021
import { QUESTIONS_TABLE_QUERY } from "./query";
2122
import { UpdateQuestionForm, type UpdateQuestionFormData } from "./update-form";
22-
import { graphql } from "@/gql";
2323

2424
export function CreateQuestionTrigger() {
2525
const router = useRouter();

app/(admin)/(question-management)/questions/_components/update-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@
55
import { Textarea } from "@/components/ui/textarea";
66
import { UpdateFormBody } from "@/components/update-modal/form-body";
77
import type { UpdateFormBaseProps } from "@/components/update-modal/types";
8-
import { graphql, useFragment, type FragmentType } from "@/gql";
8+
import { type FragmentType, graphql, useFragment } from "@/gql";
99
import { QuestionDifficulty } from "@/gql/graphql";
1010
import { zodResolver } from "@hookform/resolvers/zod";
1111
import { useForm } from "react-hook-form";

app/(admin)/(question-management)/questions/_components/update.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
DialogTrigger,
1212
} from "@/components/ui/dialog";
1313
import { DropdownMenuItem } from "@/components/ui/dropdown-menu";
14+
import { graphql } from "@/gql";
1415
import { QuestionDifficulty } from "@/gql/graphql";
1516
import { useDialogCloseConfirmation } from "@/hooks/use-dialog-close-confirmation";
1617
import { skipToken, useMutation, useSuspenseQuery } from "@apollo/client/react";
@@ -21,7 +22,6 @@ import { toast } from "sonner";
2122
import { QUESTION_UPDATE_MUTATION } from "./mutation";
2223
import { QUESTION_BY_ID_QUERY, QUESTIONS_TABLE_QUERY } from "./query";
2324
import { UpdateQuestionForm, type UpdateQuestionFormData } from "./update-form";
24-
import { graphql } from "@/gql";
2525

2626
export function UpdateQuestionDropdownTrigger({ id }: { id: string }) {
2727
const router = useRouter();

0 commit comments

Comments
 (0)