Fix: package.json wrong import

This commit is contained in:
Nicolas Meienberger 2022-05-15 11:20:14 +00:00
parent f3b2c38164
commit 90bb76179b
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "dashboard",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"dev": "next dev",

View file

@ -3,7 +3,7 @@ import { Text } from '@chakra-ui/react';
import useSWR from 'swr';
import Layout from '../components/Layout';
import fetcher from '../core/fetcher';
import Package from '../../../../package.json';
import Package from '../../package.json';
const Settings: NextPage = () => {
const { data: latestVersion } = useSWR<string>('/system/version/latest', fetcher);