Skip to content

Commit 412fb5d

Browse files
committed
[Dashboard] Remove Drawer from ERC1155 udpate-metadata form (#5269)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR primarily focuses on updating the user interface components related to NFT actions, enhancing text alignment, and improving metadata update functionality by replacing a `Drawer` with a `Sheet` for better user experience. ### Detailed summary - Corrected typo from `Aidrop` to `Airdrop` in `airdrop-tab.tsx` and `airdrop-button.tsx`. - Added `className="text-left"` to `SheetTitle` in several components for consistent text alignment. - Replaced `Drawer` with `Sheet` in `update-metadata-tab.tsx` to improve UI. - Modified state management for opening/closing the metadata update sheet. - Enhanced error handling and user feedback with `toast` notifications in `update-metadata-form.tsx`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent c3f2404 commit 412fb5d

File tree

9 files changed

+246
-262
lines changed

9 files changed

+246
-262
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/[tokenId]/components/airdrop-tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const AirdropTab: React.FC<AirdropTabProps> = ({ contract, tokenId }) => {
129129
<SheetContent className="w-full overflow-y-auto sm:min-w-[540px] lg:min-w-[700px]">
130130
<SheetHeader>
131131
<SheetTitle className="mb-5 text-left">
132-
Aidrop NFTs
132+
Airdrop NFTs
133133
</SheetTitle>
134134
</SheetHeader>
135135
<AirdropUpload

0 commit comments

Comments
 (0)