Skip to content

Commit

Permalink
fix: 변경된 타입명 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo-o committed Nov 24, 2024
1 parent b331bc1 commit e7cff27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { OutstandingType } from "constants/status/outstandigOptions";
import Button from "wowds-ui/Button";

import type { OutstandingStudentsType } from "@/students/_contexts/StudyProvider";

const DropDownTrigger = ({ type }: { type: OutstandingStudentsType }) => {
const DropDownTrigger = ({ type }: { type: OutstandingType }) => {
return (
<Button size="sm" variant="outline">
우수 및 수료 {type}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";

import { styled } from "@styled-system/jsx";
import type { OutstandingType } from "constants/status/outstandigOptions";
import {
OUTSTANDING_ADD_OPTIONS,
OUTSTANDING_DEL_OPTIONS,
Expand All @@ -10,15 +11,14 @@ import type { AchievementType } from "types/entities/achievement";
import DropDown from "wowds-ui/DropDown";
import DropDownOption from "wowds-ui/DropDownOption";

import type { OutstandingStudentsType } from "@/students/_contexts/StudyProvider";
import {
enabledOutstandingStudentsAtom,
outstandingStudentsAtom,
} from "@/students/_contexts/StudyProvider";

import DropDownTrigger from "./DropDownTrigger";

const OutstandingDropDown = ({ type }: { type: OutstandingStudentsType }) => {
const OutstandingDropDown = ({ type }: { type: OutstandingType }) => {
const setOutstandingStudents = useSetAtom(outstandingStudentsAtom);
const setEnabled = useSetAtom(enabledOutstandingStudentsAtom);

Expand Down

0 comments on commit e7cff27

Please sign in to comment.