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 0d71b19 commit fe200e1Copy full SHA for fe200e1
src/ui/components/AppShell/index.tsx
@@ -1,4 +1,5 @@
1
import {
2
+ Anchor,
3
AppShell,
4
Divider,
5
Group,
@@ -198,6 +199,7 @@ const AcmAppShell: React.FC<AcmAppShellProps> = ({
198
199
}
200
const [opened, { toggle }] = useDisclosure();
201
const { userData } = useAuth();
202
+ const navigate = useNavigate();
203
return (
204
<AppShell
205
padding="md"
@@ -230,6 +232,9 @@ const AcmAppShell: React.FC<AcmAppShellProps> = ({
230
232
<Text size="xs" fw={500}>
231
233
Revision <code>{getCurrentRevision()}</code>
234
</Text>
235
+ <Anchor component="button" size="xs" fw={500} onClick={() => navigate('/tos')}>
236
+ Terms of Service
237
+ </Anchor>
238
</AppShell.Section>
239
</AppShell.Navbar>
240
)}
0 commit comments