Skip to content

Commit cfd930d

Browse files
author
Ryan Johnson
authored
remove redux references (#129)
1 parent dbc1db9 commit cfd930d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/LocalizeProvider.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @flow
22
import React, { Component } from 'react';
3-
import { type Store } from 'redux';
43
import {
54
localizeReducer,
65
getActiveLanguage,
@@ -23,7 +22,7 @@ type LocalizeProviderState = {
2322
};
2423

2524
export type LocalizeProviderProps = {
26-
store?: Store<any, any>,
25+
store?: any,
2726
getState?: Function,
2827
initialize?: InitializePayload,
2928
children: any

src/utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @flow
22
import React from 'react';
3-
import { type Store } from 'redux';
43
import {
54
defaultTranslateOptions,
65
type MultipleLanguageTranslation
@@ -167,7 +166,7 @@ export const getTranslationsForLanguage = (
167166
};
168167

169168
export const storeDidChange = (
170-
store: Store<any, any>,
169+
store: any,
171170
onChange: (prevState: any) => void
172171
) => {
173172
let currentState;

0 commit comments

Comments
 (0)