can now to npm run start-dev to run local front end with the development database

This commit is contained in:
Carter 2025-02-19 13:56:30 -06:00
parent b5fe74664c
commit c636737718
4 changed files with 11 additions and 12 deletions

View file

@ -42,15 +42,6 @@ export default function DevicePage() {
const loadDevice = () => {
if (loading) return
// if (state?.device && parseInt(state.device.settings.deviceId) === device.id()) return
// deviceAPI.get(deviceID, false, getContextKeys(), getContextTypes()).then(resp => {
// setDevice(Device.create(resp.data))
// console.log(resp.data)
// }).catch(() => {
// snackbar.error("Error loading device.")
// }).finally(() => {
// setLoading(false)
// })
setLoading(true)
deviceAPI.getPageData(deviceID, getContextKeys(), getContextTypes()).then(resp => {