diff --git a/README.md b/README.md index a37ecf6..57e5c2b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,6 @@ Submit your code this way. - ● https://github.com/Sh1-5 ● https://github.com/wsqstar diff --git a/src/components/app-content/component/collect.tsx b/src/components/app-content/component/collect.tsx index a538a2d..38b1df7 100644 --- a/src/components/app-content/component/collect.tsx +++ b/src/components/app-content/component/collect.tsx @@ -15,7 +15,7 @@ export const CollectCard: React.FC = ({ setLocalCollect }) => { const [collectData, setCollectData] = useState(undefined) - + useEffect(() => { if (localCollect) { const newData = Object.values(localCollect).flat() diff --git a/src/components/app-header/index.tsx b/src/components/app-header/index.tsx index eecf67a..e7c64fd 100644 --- a/src/components/app-header/index.tsx +++ b/src/components/app-header/index.tsx @@ -112,7 +112,7 @@ export const AppHeader: React.FC = ({ - +
a.order - b.order) }