Skip to content

Commit 40fa5dd

Browse files
rmnpptRoman Popat
andauthored
various build errors (#39)
Co-authored-by: Roman Popat <roman.popat@proton.me>
1 parent e51ea86 commit 40fa5dd

6 files changed

Lines changed: 4 additions & 5 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// "forwardPorts": [],
1414

1515
// Use 'postCreateCommand' to run commands after the container is created.
16-
// "postCreateCommand": "yarn install",
16+
"postCreateCommand": "yarn install",
1717

1818
// Configure tool-specific properties.
1919
// "customizations": {},

bs3/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@typescript-eslint/parser": "^8.29.1",
3737
"env-cmd": "^10.1.0",
3838
"eslint": "^9.24.0",
39+
"eslint-config-react-app": "^7.0.1",
3940
"typescript": "^5.8.3"
4041
},
4142
"scripts": {

bs3/src/AppWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface AppModalProps {
88
}
99

1010
const AppModal: React.FC<AppModalProps> = ({ onClose }) => {
11-
const [showModal, setShowModal] = useState(true);
11+
const [showModal] = useState(true);
1212

1313
return (
1414
<Modal

bs3/src/pages/new-post-form.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import React, {
44
useMemo,
55
useEffect,
66
useRef,
7-
FormEvent,
87
} from "react";
98
import {
109
Paper,

bs3/src/pages/post-detail.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useLoaderData } from "react-router-dom";
33
import BasicCard from "../components/post-card";
44
import { useSelector } from "react-redux";
55
import MainActionFab from "../components/main-action-buttons";
6-
import { PostData } from "../types/types";
76
import { RootState } from "../app/store";
87
import type { LoaderFunction } from '@remix-run/router';
98

bs3/src/pages/post-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, MouseEvent } from "react";
1+
import React, { useState } from "react";
22
import BasicCard from "../components/post-card";
33
import Button from '@mui/material/Button';
44
import Snackbar, { SnackbarCloseReason } from '@mui/material/Snackbar';

0 commit comments

Comments
 (0)