Skip to content

Commit

Permalink
Disable debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lw-cdm committed Nov 28, 2024
1 parent 78afee2 commit 86124fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/extension-koni-ui/src/Popup/Home/Mint/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const Component = ({ className }: Props): React.ReactElement => {
const [mintedAddress, setMintedAddress] = useState<string | undefined>(undefined);
const [isFetchingNftMintingLog, setIsFetchingNftMintingLog] = useState<boolean>(true);

// @ts-ignore
const [alwaysShowMint, setAlwaysShowMint] = useState<boolean>(false);

const currentIAirdropNftMinting = useMemo(() => {
Expand All @@ -33,11 +34,11 @@ const Component = ({ className }: Props): React.ReactElement => {
}, []);

const onClickLogo = useCallback(() => {
setMintSuccess((prev) => !prev);
// setMintSuccess((prev) => !prev);
}, []);

const onClickHeaderNameArea = useCallback(() => {
setAlwaysShowMint((prev) => !prev);
// setAlwaysShowMint((prev) => !prev);
}, []);

useEffect(() => {
Expand Down

0 comments on commit 86124fa

Please sign in to comment.