Skip to content

Commit dd76a3a

Browse files
committed
fix: format
1 parent bcd9050 commit dd76a3a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/pages/CreateWorkspacePage/CreateWorkspacePageViewExperimental.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ export const CreateWorkspacePageViewExperimental: FC<
144144

145145
useEffect(() => {
146146
if (form.submitCount > 0 && form.errors) {
147-
workspaceNameInputRef.current?.scrollIntoView({ behavior: "smooth", block: "center" });
147+
workspaceNameInputRef.current?.scrollIntoView({
148+
behavior: "smooth",
149+
block: "center",
150+
});
148151
workspaceNameInputRef.current?.focus();
149152
}
150153
}, [form.submitCount, form.errors]);

0 commit comments

Comments
 (0)