Commit a186cfa1 authored by timel's avatar timel

fix: fmt

parent c559bdad
Pipeline #22882 failed with stages
in 12 minutes and 36 seconds
import { Button } from "antd";
import styles from "./CardDetail.module.scss";
import { LineOutlined } from "@ant-design/icons"; import { LineOutlined } from "@ant-design/icons";
import { Button } from "antd";
import classNames from "classnames"; import classNames from "classnames";
import styles from "./CardDetail.module.scss";
export const CardDetail: React.FC<{ export const CardDetail: React.FC<{
code: number; code: number;
open: boolean; open: boolean;
onClose: () => void; onClose: () => void;
}> = ({ code, open, onClose }) => { }> = ({ code, open, onClose }) => {
code;
return ( return (
<div className={classNames(styles.detail, { [styles.open]: open })}> <div className={classNames(styles.detail, { [styles.open]: open })}>
<div className={styles.container}> <div className={styles.container}>
......
import styles from "./DeckSelect.module.scss";
import { Button } from "antd";
import { import {
DeleteOutlined, DeleteOutlined,
DownloadOutlined, DownloadOutlined,
PlusOutlined, PlusOutlined,
} from "@ant-design/icons"; } from "@ant-design/icons";
import { Button } from "antd";
import styles from "./DeckSelect.module.scss";
export const DeckSelect: React.FC<{ export const DeckSelect: React.FC<{
decks: { name: string; id: number }[]; decks: { name: string; id: number }[];
......
...@@ -17,10 +17,9 @@ import { ...@@ -17,10 +17,9 @@ import {
} from "antd"; } from "antd";
import { Background } from "../Shared"; import { Background } from "../Shared";
import styles from "./index.module.scss";
import { DeckSelect } from "./DeckSelect";
import { CardDetail } from "./CardDetail"; import { CardDetail } from "./CardDetail";
import { DeckSelect } from "./DeckSelect";
import styles from "./index.module.scss";
const { Content, Sider } = Layout; const { Content, Sider } = Layout;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment