Skip to content

Commit eb3ef84

Browse files
committed
fix: fixed everything regarding knip
1 parent c5e6c47 commit eb3ef84

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: src/components/operator-documents.tsx

+7-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const DocumentList = ({
4747
sx={{ ml: 0, mb: 2, p: 0 }}
4848
typography="body2"
4949
>
50-
<Link href={doc.url} variant="inline">
50+
<Link href={doc.url} variant="body2">
5151
<Box display="flex">
5252
<Box sx={{ flexShrink: 0, mr: 2 }}>
5353
<Icon name="pdf" size={20} />
@@ -115,7 +115,12 @@ export const OperatorDocuments = ({ id }: { id: string }) => {
115115

116116
return (
117117
<Box key={category.id} sx={{ mx: 4, my: 6 }}>
118-
<Typography component="h4" sx={{ mb: 3 }} variant="lead">
118+
<Typography
119+
component="h4"
120+
sx={{ mb: 3 }}
121+
variant="body2"
122+
fontWeight={600}
123+
>
119124
{category.categoryLabel}
120125
</Typography>
121126
<DocumentList itemLabel={category.itemLabel} documents={docs} />

Diff for: src/themes/index.ts renamed to src/themes/index.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
FederalTypographyVariants,
66
FederalTypographyVariantsOptions,
77
} from "@interactivethings/swiss-federal-ci";
8-
import type {} from "@mui/lab/themeAugmentation";
98
import { useTheme } from "@mui/material";
109

1110
declare module "@mui/material" {

0 commit comments

Comments
 (0)