We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58ba86f commit 6803971Copy full SHA for 6803971
1 file changed
src/taxonomy/tree-table/SaveErrorAlert.tsx
@@ -15,7 +15,7 @@ interface SaveErrorAlertProps {
15
}
16
const SaveErrorAlert = ({ draftError, isError, isUpdateError }: SaveErrorAlertProps) => {
17
const intl = useIntl();
18
- const hasError: boolean = (isError || isUpdateError) && !!draftError;
+ const hasError: boolean = Boolean((isError || isUpdateError) && !!draftError);
19
const [alertOpen, setAlertOpen] = React.useState(hasError);
20
21
useEffect(() => {
0 commit comments