Skip to content

Commit

Permalink
chore: storybook props error
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed May 7, 2024
1 parent 194913e commit e7caed8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions design/attendance/AttendanceModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import styled from "styled-components";
import Avatar from "../../components/atoms/Avatar";
import { PopOverIcon } from "../../components/atoms/Icons/PopOverIcon";
import { IFooterOptions, ModalLayout } from "../../modals/Modals";
import { IModal } from "../../types/components/modalTypes";
import { DispatchBoolean } from "../../types/hooks/reactTypes";
import AttendanceBar from "./AttendanceBar";

interface AttendanceModalProps extends IModal {
interface AttendanceModalProps {
type: 1 | 2;
setIsModal?: DispatchBoolean;
}

function AttendanceModal({ type, setIsModal }: AttendanceModalProps) {
Expand Down
4 changes: 2 additions & 2 deletions pageTemplates/user/userNavigation/UserNavigationBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useSession } from "next-auth/react";
import { useRouter } from "next/router";
import { useSession } from "next-auth/react";
import styled from "styled-components";
import RowButtonBlock from "../../../components/atoms/blocks/RowButtonBlock";

import RowButtonBlock from "../../../components/atoms/blocks/RowButtonBlock";
import { DESIGN_PAGE_USER_PERMISSION } from "../../../constants/storage/userPermissions";
import { useFailToast } from "../../../hooks/custom/CustomToast";
import { DispatchString } from "../../../types/hooks/reactTypes";
Expand Down
1 change: 1 addition & 0 deletions pages/designs/studyAttendance.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useState } from "react";

import RowButtonBlock from "../../components/atoms/blocks/RowButtonBlock";
import Header from "../../components/layouts/Header";
import Slide from "../../components/layouts/PageSlide";
Expand Down

0 comments on commit e7caed8

Please sign in to comment.