Skip to content

Commit

Permalink
Refactor isSaving initialization in DashboardToolbar for clearer logic
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Dec 3, 2024
1 parent 769f468 commit 5bfc954
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const DashboardToolbar: FunctionComponent<ComponentProps> = (

const [showCancelModal, setShowCancelModal] = useState<boolean>(false);

const isSaving = props.isSaving || true;
const isSaving: boolean = props.isSaving;

return (
<div
Expand Down

0 comments on commit 5bfc954

Please sign in to comment.