Skip to content

Commit d906d7b

Browse files
committed
Remove unneeded fragment
1 parent a89390e commit d906d7b

File tree

1 file changed

+28
-32
lines changed

1 file changed

+28
-32
lines changed

components/dashboard/src/teams/TeamOnboarding.tsx

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -72,38 +72,34 @@ export default function TeamOnboardingPage() {
7272
}, [settings]);
7373

7474
return (
75-
<>
76-
<OrgSettingsPage>
77-
<div className="space-y-8">
78-
<div>
79-
<Heading2>Policies</Heading2>
80-
<Subheading>
81-
Restrict workspace classes, editors and sharing across your organization.
82-
</Subheading>
83-
</div>
84-
<ConfigurationSettingsField>
85-
<Heading3>Internal dashboard</Heading3>
86-
<Subheading>
87-
The link to your internal dashboard. This link will be shown to your organization members
88-
during the onboarding process. You can disable showing a link by leaving this field empty.
89-
</Subheading>
90-
<form onSubmit={handleUpdateInternalLink}>
91-
<InputField label="Internal dashboard link" error={undefined} className="mb-4">
92-
<TextInput
93-
value={internalLink}
94-
type="url"
95-
placeholder="https://en.wikipedia.org/wiki/Heisenbug"
96-
onChange={setInternalLink}
97-
disabled={updateTeamSettings.isLoading || !isOwner}
98-
/>
99-
</InputField>
100-
<LoadingButton type="submit" loading={updateTeamSettings.isLoading} disabled={!isOwner}>
101-
Save
102-
</LoadingButton>
103-
</form>
104-
</ConfigurationSettingsField>
75+
<OrgSettingsPage>
76+
<div className="space-y-8">
77+
<div>
78+
<Heading2>Policies</Heading2>
79+
<Subheading>Restrict workspace classes, editors and sharing across your organization.</Subheading>
10580
</div>
106-
</OrgSettingsPage>
107-
</>
81+
<ConfigurationSettingsField>
82+
<Heading3>Internal dashboard</Heading3>
83+
<Subheading>
84+
The link to your internal dashboard. This link will be shown to your organization members during
85+
the onboarding process. You can disable showing a link by leaving this field empty.
86+
</Subheading>
87+
<form onSubmit={handleUpdateInternalLink}>
88+
<InputField label="Internal dashboard link" error={undefined} className="mb-4">
89+
<TextInput
90+
value={internalLink}
91+
type="url"
92+
placeholder="https://en.wikipedia.org/wiki/Heisenbug"
93+
onChange={setInternalLink}
94+
disabled={updateTeamSettings.isLoading || !isOwner}
95+
/>
96+
</InputField>
97+
<LoadingButton type="submit" loading={updateTeamSettings.isLoading} disabled={!isOwner}>
98+
Save
99+
</LoadingButton>
100+
</form>
101+
</ConfigurationSettingsField>
102+
</div>
103+
</OrgSettingsPage>
108104
);
109105
}

0 commit comments

Comments
 (0)