From 8e3e4160a2bc7be880c6264811b463b73859a47e Mon Sep 17 00:00:00 2001 From: wz2k <87819279+wz2k@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:20:25 +0800 Subject: [PATCH] refector: move set registration button --- .../tabs/voteEvent/ResultsTab/ResultsTab.tsx | 2 +- .../VoterManagementTab/VoterManagementTab.tsx | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/components/tabs/voteEvent/ResultsTab/ResultsTab.tsx b/components/tabs/voteEvent/ResultsTab/ResultsTab.tsx index d9c7ba0..ebf6a09 100644 --- a/components/tabs/voteEvent/ResultsTab/ResultsTab.tsx +++ b/components/tabs/voteEvent/ResultsTab/ResultsTab.tsx @@ -144,7 +144,7 @@ const ResultsTab: FC = ({ voteEvent, mutate }) => { > - )} {internalOnly && ( @@ -197,14 +186,25 @@ const VoterManagementTab: FC = ({ voteEvent, mutate }) => { xs: "center", md: "right", }} + direction={{ xs: "column", md: "row" }} + gap={1} > {selectedList === LIST_TYPES.INTERNAL_VOTERS && ( - + <> + + + )} {selectedList === LIST_TYPES.EXTERNAL_VOTERS && (