From f2b74092aad4d27d6b8bceeb08e6ba597c01d5df Mon Sep 17 00:00:00 2001 From: Daniel Steigerwald Date: Sat, 6 Jan 2024 12:17:30 +0100 Subject: [PATCH] Fix name --- examples/vite/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vite/src/App.tsx b/examples/vite/src/App.tsx index 1ac1b70c5..fcf8d0f6a 100644 --- a/examples/vite/src/App.tsx +++ b/examples/vite/src/App.tsx @@ -100,7 +100,7 @@ const isRestoringOwner = (isRestoringOwner?: boolean): boolean => { // Ensure fixtures are not added to the restored owner. if (!isRestoringOwner()) createFixtures(); -const NextJsExample = memo(function NextJsExample() { +const ViteExample = memo(function ViteExample() { const [currentTab, setCurrentTab] = useState<"todos" | "categories">("todos"); const handleTabClick = (): void => @@ -427,7 +427,7 @@ const prompt = ( }; function App() { - return ; + return ; } export default App;