Skip to content

Commit

Permalink
Fixes restore draft from performing form submits
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Oct 11, 2024
1 parent ca2c92a commit d6d4246
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utils/AutoSave.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export const RestoreDraftButton = () => {
return (
<Button
variant="outline"
type="button"
className="flex items-center space-x-2"
onClick={() =>
handleDraftSelect(
Expand Down

0 comments on commit d6d4246

Please sign in to comment.