From 9d23d412f08bac382db67f937c0504f45547246f Mon Sep 17 00:00:00 2001
From: john0609 <nihaojohn@naver.com>
Date: Fri, 13 Dec 2024 10:28:11 +0900
Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/main.dart | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/main.dart b/lib/main.dart
index 0be964d..e832023 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.'));
                 }
-              })),
-    );
+              }));
   }
 }
 
-- 
GitLab