Skip to content

Commit 09a4749

Browse files
authored
Merge pull request #4 from btastic/master
Example fix: Set the type of the store
2 parents bfb75a1 + 90a0717 commit 09a4749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void main() {
2222
class FlutterReduxApp extends StatelessWidget {
2323
// Create your store as a final variable in a base Widget. This works better
2424
// with Hot Reload than creating it directly in the `build` function.
25-
final store = new Store(counterReducer, initialState: 0);
25+
final store = new Store<int>(counterReducer, initialState: 0);
2626

2727
@override
2828
Widget build(BuildContext context) {

0 commit comments

Comments
 (0)