diff --git a/lib/main.dart b/lib/main.dart
index 0be964d977cb3fe845b218600b84fe5f4a0dd96a..e832023859965c6fc360b01ac6261d17a333cc45 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -20,9 +20,7 @@ class MyApp extends StatelessWidget {
   @override
   Widget build(BuildContext context) {
     var appState = context.watch<MyAppState>();
-    return ChangeNotifierProvider(
-      create: (context) => MyAppState(),
-      child: MaterialApp(
+    return MaterialApp(
           title: 'Namer App',
           theme: ThemeData(
             useMaterial3: true,
@@ -40,8 +38,7 @@ class MyApp extends StatelessWidget {
                 } else {
                   return const Center(child: Text('No favorites yet.'));
                 }
-              })),
-    );
+              }));
   }
 }