Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 1eda0e9

Browse files
committed
fix: loading state should be set to true before api call
1 parent 06ffb60 commit 1eda0e9

File tree

1 file changed

+1
-1
lines changed
  • src/pages/apps/[id]/environments/[env-id]/config/_components/TabAuthWall

1 file changed

+1
-1
lines changed

src/pages/apps/[id]/environments/[env-id]/config/_components/TabAuthWall/AuthWallUsers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function AuthWallUsers({ app, environment: env }: Props) {
133133
setShowDeleteModal(false);
134134
}}
135135
onConfirm={({ setLoading, setError }) => {
136-
setLoading(false);
136+
setLoading(true);
137137

138138
deleteLogins({ appId: app.id, envId: env.id!, loginIds: checked })
139139
.then(() => {

0 commit comments

Comments
 (0)