Skip to content

Commit

Permalink
Update app/(gcforms)/[locale]/(form administration)/form-builder/[id]…
Browse files Browse the repository at this point in the history
…/responses/[statusFilter]/components/ManageFormAccessDialog/ConfirmAction.tsx

Co-authored-by: Tim Arney <timarney@users.noreply.github.com>
  • Loading branch information
dsamojlenko and timarney authored Oct 18, 2024
1 parent 5847ed5 commit a0f165a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const ConfirmAction = ({
const handleOnClick = async () => {
setError("");
setConfirm(false);
if (!(await callback())) {
if (! await callback()) {
setError(t("confirmError"));
}
};
Expand Down

0 comments on commit a0f165a

Please sign in to comment.