From cac518b7c396eefe832f2b653e7a5b04b592c3d0 Mon Sep 17 00:00:00 2001 From: syafiqparadisam Date: Sun, 5 May 2024 19:38:59 +0700 Subject: [PATCH] fix: update all file,because linting error --- project/.eslintrc.cjs | 1 + project/src/App.jsx | 16 +--------------- .../components/Achievement/AchievementImage.jsx | 4 ++++ project/src/components/Home/AboutSection.jsx | 3 --- project/src/components/Home/BrandingSosmed.jsx | 1 - .../components/Testimonials/CardTestimonial.jsx | 2 +- project/src/utils/Footer.jsx | 4 +--- project/src/utils/LayoutImageAndText.jsx | 1 - project/src/utils/NavigationBar.jsx | 3 ++- 9 files changed, 10 insertions(+), 25 deletions(-) diff --git a/project/.eslintrc.cjs b/project/.eslintrc.cjs index ec601b2..67493e6 100644 --- a/project/.eslintrc.cjs +++ b/project/.eslintrc.cjs @@ -10,6 +10,7 @@ module.exports = { settings: { react: { version: '18.2' } }, plugins: ['react-refresh'], rules: { + 'react/prop-types': 'off', 'react-refresh/only-export-components': 'warn', }, } diff --git a/project/src/App.jsx b/project/src/App.jsx index e6011c6..43ce52e 100644 --- a/project/src/App.jsx +++ b/project/src/App.jsx @@ -1,7 +1,6 @@ import Home from "./pages/Home"; import { Route, Routes, BrowserRouter } from "react-router-dom"; -import NavigationBar from "./utils/NavigationBar"; import Layout from "./utils/Layout"; import { useEffect } from "react"; import Aos from "aos"; @@ -40,17 +39,4 @@ const App = () => { ); }; -export default App; - -// -// -// -// -// } /> -// } /> -// } /> -// } /> -// -// -//