From 131cd2f4a27b6e6bde3524f960b1547d1ab565ff Mon Sep 17 00:00:00 2001 From: Sander Eikemo Andreassen Date: Wed, 30 Oct 2024 16:04:38 +0100 Subject: [PATCH] fix: add label to administrator menu button and fix formatting --- src/app/[locale]/(default)/shift-schedule/page.tsx | 4 ++-- src/components/shift-schedule/AdministratorMenu.tsx | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/app/[locale]/(default)/shift-schedule/page.tsx b/src/app/[locale]/(default)/shift-schedule/page.tsx index 24d8de4..06c79f6 100644 --- a/src/app/[locale]/(default)/shift-schedule/page.tsx +++ b/src/app/[locale]/(default)/shift-schedule/page.tsx @@ -29,9 +29,9 @@ export default async function ShiftSchedulePage({ return ( <> diff --git a/src/components/shift-schedule/AdministratorMenu.tsx b/src/components/shift-schedule/AdministratorMenu.tsx index 83fb98e..1445717 100644 --- a/src/components/shift-schedule/AdministratorMenu.tsx +++ b/src/components/shift-schedule/AdministratorMenu.tsx @@ -6,7 +6,6 @@ import { CollapsibleContent, CollapsibleTrigger, } from '@/components/ui/Collapsible'; -import { Separator } from '@/components/ui/Separator'; import { ChevronDownIcon, ChevronUpIcon, Trash2Icon } from 'lucide-react'; import { useState } from 'react'; @@ -24,7 +23,7 @@ function AdministratorMenu({ messages }: AdministratorMenuProps) {
@@ -33,9 +32,15 @@ function AdministratorMenu({ messages }: AdministratorMenuProps) {