Skip to content

Commit

Permalink
infinite loop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Br2850 committed Oct 22, 2024
1 parent c2c3fcc commit a9fde0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const ModalBase: React.FC<ModalBaseProps> = ({
} else {
setPrimaryButtonView({ ...primaryButtonView, disabled: false });
}
}, [functionality, primaryButtonView, primaryButtonView.params]);
}, [primaryButtonView.params]);

const handleSaveTags = useCallback((tags: string[]) => {
setPrimaryButtonView((prevButtonView) => ({
Expand Down

0 comments on commit a9fde0a

Please sign in to comment.