aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/_app.tsx1
-rw-r--r--src/pages/index.tsx2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index 10121ab..000ce99 100644
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -2,6 +2,7 @@ import "semantic-ui-css/semantic.min.css";
import "../styles/globals.css";
import type { AppProps } from "next/app";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import React from "react";
const queryClient = new QueryClient();
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 674878a..c5f0994 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -10,7 +10,7 @@ import {
} from "semantic-ui-react";
import styles from "../styles/Home.module.css";
-import { useMemo, useState } from "react";
+import React, { useMemo, useState } from "react";
import AddItem from "../components/add-item";
import {
getGetItemsQueryKey,