style: update everything to biome conventions

This commit is contained in:
DanCodes committed 2024-01-09 13:50:20 +00:00
1 parent 96350fa793
commit c0b9d93880
88 files changed
+491 -708

No files matched your search

+3 -1
View File
@@ -20,6 +20,8 @@ const Carousel = ({ content, onChange }) => {
state.setDirection,
state.direction,
]);
// biome-ignore lint/correctness/useExhaustiveDependencies: <explanation>
useEffect(() => {
onChange(currentSlide);
}, [content[currentSlide].key]);
@@ -106,7 +108,7 @@ const Carousel = ({ content, onChange }) => {
? "carousel-indicator active"
: "carousel-indicator"
}
key={index}
key={item.Id}
onClick={() => {
if (currentSlide > index) {
setDirection("left");