From 68d8cb2955b46572c18326dcd3b4731039e0c2a9 Mon Sep 17 00:00:00 2001 From: Nola Dodd Date: Thu, 6 Jun 2024 10:23:22 -0700 Subject: [PATCH] final deploy --- back-end/package-lock.json | 12 ++++++------ front-end/package-lock.json | 19 ++++++++++++++++--- front-end/src/dashboard/Dashboard.js | 1 - front-end/src/layout/AssignTable.js | 2 +- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/back-end/package-lock.json b/back-end/package-lock.json index 6310249..a387917 100644 --- a/back-end/package-lock.json +++ b/back-end/package-lock.json @@ -1790,9 +1790,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001628", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001628.tgz", - "integrity": "sha512-S3BnR4Kh26TBxbi5t5kpbcUlLJb9lhtDXISDPwOfI+JoC+ik0QksvkZtUVyikw3hjnkgkMPSJ8oIM9yMm9vflA==", + "version": "1.0.30001629", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001629.tgz", + "integrity": "sha512-c3dl911slnQhmxUIT4HhYzT7wnBK/XYpGnYLOj4nJBaRiw52Ibe7YxlDaAeRECvA786zCuExhxIUJ2K7nHMrBw==", "dev": true, "funding": [ { @@ -2365,9 +2365,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.790", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.790.tgz", - "integrity": "sha512-eVGeQxpaBYbomDBa/Mehrs28MdvCXfJmEFzaMFsv8jH/MJDLIylJN81eTJ5kvx7B7p18OiPK0BkC06lydEy63A==", + "version": "1.4.792", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.792.tgz", + "integrity": "sha512-rkg5/N3L+Y844JyfgPUyuKK0Hk0efo3JNxUDKvz3HgP6EmN4rNGhr2D8boLsfTV/hGo7ZGAL8djw+jlg99zQyA==", "dev": true }, "node_modules/emittery": { diff --git a/front-end/package-lock.json b/front-end/package-lock.json index 32edc00..09bd1c1 100644 --- a/front-end/package-lock.json +++ b/front-end/package-lock.json @@ -4522,6 +4522,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ansi-html": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", @@ -21874,9 +21885,11 @@ } }, "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", + "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "optional": true, + "peer": true, "engines": { "node": ">=10" }, diff --git a/front-end/src/dashboard/Dashboard.js b/front-end/src/dashboard/Dashboard.js index aa4ceca..89e9a5b 100644 --- a/front-end/src/dashboard/Dashboard.js +++ b/front-end/src/dashboard/Dashboard.js @@ -17,7 +17,6 @@ function Dashboard() { const [reservationsError, setReservationsError] = useState(null); const [tables, setTables] = useState([]) - console.log(reservations, allReservations) let navigate = useNavigate() let location = useLocation() diff --git a/front-end/src/layout/AssignTable.js b/front-end/src/layout/AssignTable.js index b3fd21b..692fa6f 100644 --- a/front-end/src/layout/AssignTable.js +++ b/front-end/src/layout/AssignTable.js @@ -1,6 +1,6 @@ import React, { useEffect, useState } from "react"; import {useNavigate, useParams} from "react-router-dom" -import { updateReservationSeated, loadReservation, listTables, updateTable, listReservations } from "../utils/api"; +import { updateReservationSeated, loadReservation, listTables, updateTable,} from "../utils/api"; import ErrorAlert from "../layout/ErrorAlert"; /**