Skip to content

Commit

Permalink
Merge pull request #4 from btastic/master
Browse files Browse the repository at this point in the history
Example fix: Set the type of the store
  • Loading branch information
brianegan committed Jan 26, 2018
2 parents bfb75a1 + 90a0717 commit 09a4749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void main() {
class FlutterReduxApp extends StatelessWidget {
// Create your store as a final variable in a base Widget. This works better
// with Hot Reload than creating it directly in the `build` function.
final store = new Store(counterReducer, initialState: 0);
final store = new Store<int>(counterReducer, initialState: 0);

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 09a4749

Please sign in to comment.