From c6c728ad7bc78e152eba4190ba6a1d13a5b21a84 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 28 Jun 2023 11:24:24 +0800 Subject: [PATCH] website: update dependency styled-components to ^6 --- www/package.json | 5 ++--- www/src/components/SkeletonLoader.tsx | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/www/package.json b/www/package.json index bf9d46385e..0b6f98c438 100644 --- a/www/package.json +++ b/www/package.json @@ -80,7 +80,6 @@ "@icongo/wi": "1.2.0", "@icongo/wl": "1.2.0", "@types/react-lazy-load-image-component": "^1.5.2", - "@types/styled-components": "^5.1.25", "@uiw/copy-to-clipboard": "^1.0.12", "@uiw/react-back-to-top": "^1.2.0", "@uiw/react-github-corners": "^1.5.14", @@ -91,8 +90,8 @@ "react-hot-toast": "^2.3.0", "react-keywords": "^0.0.5", "react-lazy-load-image-component": "^1.5.5", - "react-router-dom": "~6.9.0", - "styled-components": "^5.3.5" + "react-router-dom": "^6.14.0", + "styled-components": "^6.0.0" }, "devDependencies": { "@kkt/less-modules": "^7.4.9", diff --git a/www/src/components/SkeletonLoader.tsx b/www/src/components/SkeletonLoader.tsx index 3ca7afef03..d961bb53f3 100644 --- a/www/src/components/SkeletonLoader.tsx +++ b/www/src/components/SkeletonLoader.tsx @@ -1,5 +1,5 @@ -import { FC } from "react"; -import styled, { CSSProperties, keyframes } from "styled-components"; +import { CSSProperties, FC } from "react"; +import styled, { keyframes } from "styled-components"; interface SkeletonLoaderProps { width?: CSSProperties['width'];