diff --git a/src/containers/ProDashboard/index.tsx b/src/containers/ProDashboard/index.tsx index b938f811c..502c3be17 100644 --- a/src/containers/ProDashboard/index.tsx +++ b/src/containers/ProDashboard/index.tsx @@ -1,5 +1,6 @@ import { lazy, Suspense, useState } from 'react' import { useRouter } from 'next/router' +import toast from 'react-hot-toast' import { Icon } from '~/components/Icon' import { BasicLink } from '~/components/Link' import { LoadingSpinner } from '~/components/Loaders' @@ -210,7 +211,7 @@ function ProDashboardContent() { } - className="flex items-center gap-1 rounded-md border border-(--cards-border) px-1.5 py-1 text-xs text-(--text-disabled)" + className="flex items-center gap-1 rounded-md border border-(--cards-border) px-1.5 py-1 text-xs" > {currentDashboard?.viewCount || 0} @@ -417,7 +418,18 @@ const LikeDashboardButton = ({ return ( toggleLike()} disabled={isLiking || !isAuthenticated} />} + render={ +