マージ後の修正

dev-frontend-stock
Haru.Kusano 5 months ago
parent e121a7c7d5
commit b3002ec297
  1. 5
      frontend/src/pages/TaskListPage.tsx
  2. 24
      package-lock.json

@ -29,7 +29,7 @@ import {
Add as AddIcon, Delete as DeleteIcon, ShoppingBasket as ShoppingBasketIcon,
SoupKitchen as SoupKitchenIcon
} from '@mui/icons-material';
import { ToBuy } from '../types/types';
import { Task, ToBuy } from '../types/types';
import { TASK_ERRORS } from '../constants/errorMessages';
//import { FaCarrot } from "react-icons/fa6"; //エラー起きる いったん保留
import CategoryDropDown from "../components/CategoryDropDown";
@ -38,12 +38,13 @@ import CategoryDropDown from "../components/CategoryDropDown";
// 新規タスクの初期状態
const EMPTY_TASK: Omit<ToBuy, 'tobuy_id'> & {category: string} = {
const EMPTY_TASK: Omit<ToBuy, 'tobuy_id'> & {category: string} & {newAddition: boolean} = {
stuff_id: 0,
stuff_name: '',
amount: 0,
shop: '',
category: '',
newAddition: false
}
const TaskListPage: React.FC = () => {

24
package-lock.json generated

@ -0,0 +1,24 @@
{
"name": "joint_exc",
"lockfileVersion": 3,
"requires": true,
"packages": {
"node_modules/react": {
"version": "19.1.0",
"resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
"integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==",
"peer": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/react-icons": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz",
"integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==",
"peerDependencies": {
"react": "*"
}
}
}
}
Loading…
Cancel
Save