Skip to content
Snippets Groups Projects
Commit 9d23d412 authored by john0609's avatar john0609
Browse files

수정

parent 990020f7
Branches
No related tags found
No related merge requests found
......@@ -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.'));
}
})),
);
}));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment