Skip to content

Commit

Permalink
fix - set link value to undefined on deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangohjw committed Dec 19, 2024
1 parent 633946a commit 94af90a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function BaseLinkControl({
colorScheme="critical"
aria-label="Remove file"
icon={<BiTrash />}
onClick={() => handleChange(path, "")}
onClick={() => handleChange(path, undefined)}
/>
</>
) : (
Expand Down

0 comments on commit 94af90a

Please sign in to comment.