We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 021e165 commit 7bde355Copy full SHA for 7bde355
1 file changed
src/components/Onboarding/WorkspaceNameInput.tsx
@@ -18,8 +18,8 @@ const WorkspaceNameInput = ({ onUrlGenerated }: WorkspaceNameInputProps) => {
18
const { mutateAsync: createUrl, isPending } = usePostCreateWorkspaceUrl();
19
20
const handleCheck = async () => {
21
- if (isPending) return; // 중복 요청 방지
22
- if (workspaceUrl) return; // 이미 URL 있으면 재요청 막기
+ // 중복 요청 혹은 이미 URL 있으면 재요청 막기
+ if (isPending || workspaceUrl) return;
23
24
// 입력값 유효성 검사
25
const validationError = validateWorkspaceName(workspaceName);
0 commit comments