Skip to content

Commit

Permalink
fix NotesModalButton
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninarchive committed Dec 21, 2023
1 parent 70448e9 commit 6924f35
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ export const NotesModalButton = ({claim, value, onChange, title, variant, disabl

const icon = !value ? 'far fa-comment' : 'far fa-comment-dots';
const showConfirm = !disabled && (!claim || (claim && authService.getClaims().includes(claim)));

if(!text && value){
setText(value);
}

return (
<>
<Button
Expand Down

0 comments on commit 6924f35

Please sign in to comment.