From fb1795fd2b3d044226154dc0aecfda56dc89b4c3 Mon Sep 17 00:00:00 2001 From: kcar Date: Mon, 25 May 2026 13:22:24 +0000 Subject: [PATCH] fix(phase-a): actually remove Neo provider JSX from App.tsx Python heredoc string replacement missed the JSX wrapper lines due to indentation mismatch. Rewrote App.tsx directly. Previous commit removed the imports but left NeoUserProvider/NeoInstituteProvider in the JSX, causing ReferenceError at runtime (Vite builds without tsc so it compiled clean despite the undefined references). Co-Authored-By: Claude Sonnet 4.6 --- src/App.tsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index eadb406..5921c17 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,26 +7,20 @@ import { UserProvider } from './contexts/UserContext'; import AppRoutes from './AppRoutes'; import React from 'react'; -// Wrap the entire app in a memo to prevent unnecessary re-renders const App = React.memo(() => ( - - - - - - - + + + )); -// Add display name for better debugging App.displayName = import.meta.env.VITE_APP_NAME; -export default App; \ No newline at end of file +export default App;