diff --git a/src/components/Dashboard/Empty/index.tsx b/src/components/Dashboard/Empty/index.tsx index 13a06f1..babb541 100644 --- a/src/components/Dashboard/Empty/index.tsx +++ b/src/components/Dashboard/Empty/index.tsx @@ -4,7 +4,7 @@ interface DashboardEmptyProps { 'data-test-id'?: string; } -const DashboardEmpty = ({ ...attributes }: DashboardEmptyProps): JSX.Element => { +const DashboardEmpty = (attributes: DashboardEmptyProps): JSX.Element => { return (

😎

diff --git a/src/components/Dashboard/Header/index.tsx b/src/components/Dashboard/Header/index.tsx index 285dba3..74c9b12 100644 --- a/src/components/Dashboard/Header/index.tsx +++ b/src/components/Dashboard/Header/index.tsx @@ -9,14 +9,14 @@ interface DashboardHeaderProps { children: React.ReactNode; 'data-test-id'?: string; } -const DashboardHeader = ({ dateTime, daysAgo, profileUrl, children, ...attributes }: DashboardHeaderProps): JSX.Element => { +const DashboardHeader = ({ dateTime, daysAgo, profileUrl, children, ...rest }: DashboardHeaderProps): JSX.Element => { return ( -
-
+
+
user avatar
-
+

{dateTime}

@@ -24,7 +24,7 @@ const DashboardHeader = ({ dateTime, daysAgo, profileUrl, children, ...attribute
-
+
{children}