feat: update eslint & prettier rules

This commit is contained in:
HYana
2025-04-30 17:36:46 +08:00
parent d4af2d4326
commit 460e065eed
53 changed files with 2241 additions and 2102 deletions

View File

@@ -1,25 +1,25 @@
import styles from "./createCartComponent.module.css";
import styles from './createCartComponent.module.css';
export default function CreateCardComponent({
height,
plusSize,
onClick,
height,
plusSize,
onClick,
}: {
height: number;
plusSize: number;
onClick: () => void
height: number;
plusSize: number;
onClick: () => void;
}) {
return (
<div
className={`${styles.cardContainer} ${styles.createCardContainer} `}
style={{
width: `100%`,
height: `${height}px`,
fontSize: `${plusSize}px`
}}
onClick={onClick}
>
+
</div>
)
}
return (
<div
className={`${styles.cardContainer} ${styles.createCardContainer} `}
style={{
width: `100%`,
height: `${height}px`,
fontSize: `${plusSize}px`,
}}
onClick={onClick}
>
+
</div>
);
}