Skip to content

Commit

Permalink
fix cancel button bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jay3332 committed Jul 13, 2024
1 parent 087701b commit 3a5c933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/channels/ConfirmChannelDeleteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function ConfirmChannelDeleteModal(props: Props) {
if (params.channelId && BigInt(params.channelId) === props.channel.id) navigate(`/guilds/${params.guildId}`)
}}
>
<button class="btn border-none btn-ghost" onClick={hideModal}>
<button type="button" class="btn border-none btn-ghost" onClick={hideModal}>
Cancel
</button>
<button type="submit" class="btn btn-danger border-none" disabled={isDeleting()}>
Expand Down

0 comments on commit 3a5c933

Please sign in to comment.