diff --git a/src/components/Organization/Dashboard/ProcessCard.tsx b/src/components/Organization/Dashboard/ProcessCard.tsx index 874c32e0..a03a3dc0 100644 --- a/src/components/Organization/Dashboard/ProcessCard.tsx +++ b/src/components/Organization/Dashboard/ProcessCard.tsx @@ -44,7 +44,7 @@ const ProcessCard = () => { fontWeight='500' isTruncated /> - + {format(election.startDate, t('organization.date_format'))} -{' '} {format(election.endDate, t('organization.date_format'))} diff --git a/src/components/Organization/Dashboard/ProcessesList.tsx b/src/components/Organization/Dashboard/ProcessesList.tsx index 4482be37..c5c97f01 100644 --- a/src/components/Organization/Dashboard/ProcessesList.tsx +++ b/src/components/Organization/Dashboard/ProcessesList.tsx @@ -19,7 +19,7 @@ const ProcessesList = ({ loading, processes, error, limit }: ProcessesListProps) const { t } = useTranslation() return ( - + {loading && } {error && ( diff --git a/src/components/Organization/Dashboard/Votings.tsx b/src/components/Organization/Dashboard/Votings.tsx index 86845c22..466efd24 100644 --- a/src/components/Organization/Dashboard/Votings.tsx +++ b/src/components/Organization/Dashboard/Votings.tsx @@ -26,7 +26,7 @@ const VotingsList = () => { const { elections, pagination } = data return ( - + {!!elections?.length && } diff --git a/src/elements/LayoutDashboard.tsx b/src/elements/LayoutDashboard.tsx index b9a06531..d5b0b0af 100644 --- a/src/elements/LayoutDashboard.tsx +++ b/src/elements/LayoutDashboard.tsx @@ -55,16 +55,12 @@ const LayoutDashboard: React.FC = () => { {title} )} - {/* User profile & menu */} - - {/* Hamburger button to open sidebar on small screens */} - } - onClick={onOpen} - display={{ lg: 'none' }} - aria-label='Open menu' - ml='auto' - /> + + {/* User profile & menu */} + + {/* Hamburger button to open sidebar on small screens */} + } onClick={onOpen} display={{ lg: 'none' }} aria-label='Open menu' /> + {/* Sidebar for large screens */}