Skip to content

Commit

Permalink
fix: 不要なproviderを削除
Browse files Browse the repository at this point in the history
修正
  • Loading branch information
seigi0714 committed Apr 26, 2023
1 parent 6075682 commit 640f977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/view/pages/trips/trip_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import 'package:trip_app_nativeapp/view/widgets/trips/trip_belonging_list.dart';
import 'package:trip_app_nativeapp/view/widgets/trips/trip_overview_card.dart';
import 'package:trip_app_nativeapp/view/widgets/trips/trip_schedule.dart';

final tabStateProvider = StateProvider<int>((ref) => 0);

class TripDetailPage extends HookConsumerWidget {
const TripDetailPage(this.id, {super.key});

Expand Down
5 changes: 2 additions & 3 deletions lib/view/widgets/trips/trip_belonging_list.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';

class TripBelongingList extends HookConsumerWidget {
class TripBelongingList extends StatelessWidget {
const TripBelongingList({super.key});

@override
Widget build(BuildContext context, WidgetRef ref) {
Widget build(BuildContext context) {
return const Center(
child: Text('持ち物リスト'),
);
Expand Down

0 comments on commit 640f977

Please sign in to comment.