Skip to content

Commit 9181dba

Browse files
author
Luis Doebbel
committed
Final touches to the config
1 parent 64b22b5 commit 9181dba

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ _Pvt_Extensions
285285
.paket/paket.exe
286286
paket-files/
287287

288+
dev-dist
289+
288290
# FAKE - F# Make
289291
.fake/
290292

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { SnackbarProps, Snackbar as MuiSnackbar, styled } from "@mui/material";
2+
import style from "@styles/style.module.scss";
3+
4+
const StyledMuiSnackbar = styled(MuiSnackbar)({
5+
borderRadius: style["border-radius-lg"],
6+
});
7+
8+
interface ISnackbar extends SnackbarProps {
9+
target?: string;
10+
}
11+
12+
export default function Snackbar({ children, ...props }: ISnackbar) {
13+
return <StyledMuiSnackbar {...props}>{children}</StyledMuiSnackbar>;
14+
}

frontend/src/vite-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// <reference types="vite/client" />
2+
/// <reference types="vite-plugin-pwa/react" />
23

34
declare const __ENV__: string;
45
declare const __API_URL__: string;

frontend/tsconfig.eslint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src", "vite.config.ts"],
3+
"include": ["src", "vite.config.ts", "pwa-assets.config.ts"],
44
"exclude": ["node_modules"]
55
}

0 commit comments

Comments
 (0)