From b930bf0375c979c56f1b9f2944b44cacf32de883 Mon Sep 17 00:00:00 2001 From: Rostislav Antonov Date: Fri, 7 Jul 2023 09:54:54 +0200 Subject: [PATCH] fix padding for skip wait button --- examples/apps/mega-ui/src/Layout.tsx | 2 -- examples/apps/workflow-ui/src/Tasks.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/apps/mega-ui/src/Layout.tsx b/examples/apps/mega-ui/src/Layout.tsx index 0898c62..4bf3f0b 100644 --- a/examples/apps/mega-ui/src/Layout.tsx +++ b/examples/apps/mega-ui/src/Layout.tsx @@ -1,12 +1,10 @@ import { Navbar, Text } from '@nextui-org/react' import { ReactElement } from 'react' -import { useNavigate } from 'react-router-dom' import Logo from './assets/logo.svg' import { Box } from './shared' export const Layout = ({ children }: { children: ReactElement }) => { - const navigate = useNavigate() const pathName = window.location.pathname return ( diff --git a/examples/apps/workflow-ui/src/Tasks.tsx b/examples/apps/workflow-ui/src/Tasks.tsx index 3161982..b74a7db 100644 --- a/examples/apps/workflow-ui/src/Tasks.tsx +++ b/examples/apps/workflow-ui/src/Tasks.tsx @@ -269,7 +269,7 @@ const WaitBody = ({ renderer={CountdownTimer} />} {waitDate && skippedWait && - } + } {skipButton && !skippedWait &&