diff --git a/components/EmptyState.tsx b/components/EmptyState.tsx index 8f360d1..93bfd13 100644 --- a/components/EmptyState.tsx +++ b/components/EmptyState.tsx @@ -1,13 +1,13 @@ -'use client' -import { useRouter } from 'next/navigation' -import React from 'react' -import Heading from './Heading' -import Button from './Button' +'use client'; +import { useRouter } from 'next/navigation'; +import React from 'react'; +import Heading from './Heading'; +import Button from './Button'; interface EmptyStateProps { - title?: string - subTitle?: string - showReset?: boolean + title?: string; + subTitle?: string; + showReset?: boolean; } const EmptyState: React.FC = ({ @@ -15,35 +15,27 @@ const EmptyState: React.FC = ({ subTitle = 'Try changing or removing somw of your filters', showReset }) => { - const router = useRouter() + const router = useRouter(); return (
- -
+ +
{showReset && ( -
- ) -} + ); +}; export default EmptyState;