Commit 95c51283 authored by timel's avatar timel

fix: fmt

parent e001cd31
Pipeline #23149 failed with stages
in 52 seconds
...@@ -313,7 +313,7 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => { ...@@ -313,7 +313,7 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => {
> >
<YgoCard <YgoCard
className={styles.cover} className={styles.cover}
cardName={snap.meta.text.name} // cardName={snap.meta.text.name}
code={snap.code === 0 ? snap.meta.id : snap.code} code={snap.code === 0 ? snap.meta.id : snap.code}
/> />
<YgoCard className={styles.back} isBack /> <YgoCard className={styles.back} isBack />
......
...@@ -9,7 +9,7 @@ interface Props { ...@@ -9,7 +9,7 @@ interface Props {
className?: string; className?: string;
isBack?: boolean; isBack?: boolean;
code?: number; code?: number;
cardName?: string; // cardName?: string;
style?: CSSProperties; style?: CSSProperties;
width?: number; width?: number;
onClick?: () => void; onClick?: () => void;
...@@ -20,7 +20,7 @@ export const YgoCard: React.FC<Props> = (props) => { ...@@ -20,7 +20,7 @@ export const YgoCard: React.FC<Props> = (props) => {
const { const {
className, className,
code = 0, code = 0,
cardName, // cardName,
isBack = false, isBack = false,
width, width,
style, style,
......
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