Skip to content

Commit

Permalink
small change to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-Gordon committed Mar 27, 2024
1 parent 213ac84 commit 89cc4d4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 28 deletions.
5 changes: 0 additions & 5 deletions src/app/@drawer/(.)menu/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ export default function Page() {
<Drawer shouldScaleBackground={true} open={isNavOpen}>
<DrawerContent className='ios'>
<SendNotification />
<DrawerHeader>
<DrawerTitle>Are you absolutely sure?</DrawerTitle>
<DrawerDescription>This action cannot be undone.</DrawerDescription>
</DrawerHeader>

<DrawerFooter>
<Button>Submit</Button>
<DrawerClose
Expand Down
46 changes: 24 additions & 22 deletions src/app/components/SendNotification/SendNotification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,28 +160,30 @@ export default function SendNotification() {

return (
<>
<p>{text}</p>
<button
type='button'
onClick={subscribeButtonOnClick}
disabled={isSubscribed}
>
Subscribe
</button>
<button
type='button'
onClick={unsubscribeButtonOnClick}
disabled={!isSubscribed}
>
Unsubscribe
</button>
<button
type='button'
onClick={sendNotificationButtonOnClick}
disabled={!isSubscribed}
>
Send Notification
</button>
<div className='grid'>
<p>{text}</p>
<button
type='button'
onClick={subscribeButtonOnClick}
disabled={isSubscribed}
>
Subscribe
</button>
<button
type='button'
onClick={unsubscribeButtonOnClick}
disabled={!isSubscribed}
>
Unsubscribe
</button>
<button
type='button'
onClick={sendNotificationButtonOnClick}
disabled={!isSubscribed}
>
Send Notification
</button>
</div>
</>
);
}
2 changes: 1 addition & 1 deletion src/app/components/SendUsdc/SendUsdc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function SendUsdc() {
<Button className='text-xl' size={'lg'} variant={'default'}>
<div className='flex content-center items-center'>
<div className='text-xl'>
<div>Review</div>
<div>Send</div>
</div>
</div>
</Button>
Expand Down

0 comments on commit 89cc4d4

Please sign in to comment.