chore: fix typo

This commit is contained in:
Rongjian Zhang 2022-10-07 15:41:08 +08:00
parent 5a5b20eb7e
commit fddf67d518
2 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ final router = GoRouter(
GoRoute(
path: 'watchers',
builder: (context, state) =>
GhWachers(state.params['owner']!, state.params['name']!),
GhWatchers(state.params['owner']!, state.params['name']!),
),
GoRoute(
path: 'contributors',

View File

@ -123,15 +123,15 @@ class GhMembers extends StatelessWidget {
}
}
class GhWachers extends StatelessWidget {
const GhWachers(this.owner, this.name);
class GhWatchers extends StatelessWidget {
const GhWatchers(this.owner, this.name);
final String owner;
final String name;
@override
Widget build(BuildContext context) {
return ListStatefulScaffold<GUserParts, String?>(
title: const AppBarTitle('Wachers'),
title: const AppBarTitle('Watchers'),
fetch: (cursor) async {
final auth = context.read<AuthModel>();
final req = GWatchersReq((b) {