diff --git a/src/components/home/NotableAuthors.tsx b/src/components/home/NotableAuthors.tsx index fe5ec8f..103e885 100644 --- a/src/components/home/NotableAuthors.tsx +++ b/src/components/home/NotableAuthors.tsx @@ -24,7 +24,7 @@ export const NotableAuthors = () => { {USER_ADDRESS_LIST.map((item) => { return ( - + { {...props} > diff --git a/src/images/logo-testnet.svg b/src/images/logo-testnet.svg index 990e045..6920c2a 100644 --- a/src/images/logo-testnet.svg +++ b/src/images/logo-testnet.svg @@ -1,43 +1,121 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/images/logo.svg b/src/images/logo.svg index f34cbe4..d1403f4 100644 --- a/src/images/logo.svg +++ b/src/images/logo.svg @@ -1,41 +1,117 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/Redirect.tsx b/src/pages/Redirect.tsx index f29a77e..b33635a 100644 --- a/src/pages/Redirect.tsx +++ b/src/pages/Redirect.tsx @@ -13,10 +13,12 @@ export const Redirect = () => { const { data: itemInfo, isLoading } = useGetItemByGroupId(groupId); useEffect(() => { + console.log(itemInfo); + if (!itemInfo) return; navigator(`/resource?id=${itemInfo.id}`, { replace: true, }); - }, [itemInfo.id, navigator]); + }, [itemInfo, navigator]); if (isLoading) { return ; diff --git a/src/router/index.ts b/src/router/index.ts index 0156eca..b3930b6 100755 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -11,7 +11,7 @@ const Route = ({ children }: any) => { type: 'RESET', }); } - }, [location, state]); + }, [location]); return children; };