From 5dfa0322643cb8454bc3eb4aa62feba9cae60157 Mon Sep 17 00:00:00 2001 From: Hongbo Miao <3375461+hongbo-miao@users.noreply.github.com> Date: Sun, 1 Dec 2024 00:38:49 -0800 Subject: [PATCH] chore(web): remove prop-types (#20951) --- web/package-lock.json | 1 - web/package.json | 1 - web/src/App/components/Copyright.stories.tsx | 2 -- web/src/App/components/SocialList.stories.tsx | 2 -- 4 files changed, 6 deletions(-) diff --git a/web/package-lock.json b/web/package-lock.json index 6dbbdcaa81..68395da5ea 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -91,7 +91,6 @@ "eslint-plugin-testing-library": "7.0.0", "jest": "29.7.0", "prettier": "3.4.1", - "prop-types": "15.8.1", "purgecss": "7.0.2", "react-test-renderer": "18.3.1", "serve": "14.2.4", diff --git a/web/package.json b/web/package.json index 7d610aa871..d5ff96a739 100644 --- a/web/package.json +++ b/web/package.json @@ -136,7 +136,6 @@ "eslint-plugin-testing-library": "7.0.0", "jest": "29.7.0", "prettier": "3.4.1", - "prop-types": "15.8.1", "purgecss": "7.0.2", "react-test-renderer": "18.3.1", "serve": "14.2.4", diff --git a/web/src/App/components/Copyright.stories.tsx b/web/src/App/components/Copyright.stories.tsx index da6f796144..2a4b16ec9a 100644 --- a/web/src/App/components/Copyright.stories.tsx +++ b/web/src/App/components/Copyright.stories.tsx @@ -1,6 +1,4 @@ import type { Meta, StoryObj } from '@storybook/react'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -import React from 'react'; import HmCopyright from './Copyright'; type Story = StoryObj; diff --git a/web/src/App/components/SocialList.stories.tsx b/web/src/App/components/SocialList.stories.tsx index 12da62d175..acc3e0c79a 100644 --- a/web/src/App/components/SocialList.stories.tsx +++ b/web/src/App/components/SocialList.stories.tsx @@ -1,6 +1,4 @@ import type { Meta, StoryObj } from '@storybook/react'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -import React from 'react'; import WEBSITES from '../../Home/fixtures/WEBSITES'; import HmSocialList from './SocialList';