From df7e6d71a71fbde919115d0193d6825d7de56f9a Mon Sep 17 00:00:00 2001 From: Julius Alphonso Date: Sun, 14 Mar 2021 15:53:49 +0530 Subject: [PATCH] Remove redundant helper functions --- pages/poll/create.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pages/poll/create.tsx b/pages/poll/create.tsx index 90f4560..8137367 100644 --- a/pages/poll/create.tsx +++ b/pages/poll/create.tsx @@ -56,7 +56,6 @@ const Create = (): JSX.Element => { } } - const [tourHelpers, setTourHelpers] = useState(undefined) const tourSteps: Step[] = [ { disableBeacon: true, @@ -172,10 +171,6 @@ const Create = (): JSX.Element => { } }; - const getTourHelpers = (helpers: StoreHelpers) => { - setTourHelpers(helpers); - } - const handleStartTour = (event: React.MouseEvent) => { setTourRun(true) } @@ -195,7 +190,6 @@ const Create = (): JSX.Element => {