fix(web): fix CameraMap.jsx import of api after move to routes/

This commit is contained in:
Patrick Decat 2021-02-09 09:23:17 +01:00 committed by Blake Blackshear
parent ec6a1ed9d1
commit 07bd376649

View File

@ -5,7 +5,7 @@ import Heading from '../components/Heading';
import Switch from '../components/Switch';
import { route } from 'preact-router';
import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'preact/hooks';
import { useApiHost, useConfig } from './api';
import { useApiHost, useConfig } from '../api';
export default function CameraMasks({ camera, url }) {
const { data: config } = useConfig();