diff --git a/package.json b/package.json index 24c38dd..90dda0b 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,11 @@ "dist" ], "scripts": { + "clean": "rm -rf dist", "build:scss": "sass src:temp", "copy:css": "ncp temp dist", "build:ts": "tsc", - "build": "npm run build:scss && npm run build:ts && npm run copy:css", + "build": "npm run clean && npm run build:scss && npm run build:ts && npm run copy:css", "test": "jest", "lint": "eslint src/**/*.{ts,tsx}" }, @@ -56,4 +57,4 @@ "zod": "^3.23.8", "zustand": "^4.5.5" } -} \ No newline at end of file +} diff --git a/src/components/elements/modal/components/modal.tsx b/src/components/elements/modal/components/modal.tsx index 5abddd7..ead026b 100644 --- a/src/components/elements/modal/components/modal.tsx +++ b/src/components/elements/modal/components/modal.tsx @@ -1,6 +1,3 @@ -/* eslint-disable jsx-a11y/no-static-element-interactions */ -/* eslint-disable jsx-a11y/click-events-have-key-events */ -/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ "use client"; import { motion } from "framer-motion"; import React, { useCallback, useLayoutEffect, useRef } from "react";