1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-02 17:35:17 +02:00

Fixed bug with fetching config. Pushed version 1.7.0

This commit is contained in:
Paweł Malak 2021-10-11 15:15:26 +02:00
parent 6f8a017bfb
commit 7129fe83da
6 changed files with 11 additions and 5 deletions

View file

@ -1 +1 @@
REACT_APP_VERSION=1.6.9
REACT_APP_VERSION=1.7.0

View file

@ -46,7 +46,7 @@ const SearchSettings = (props: Props): JSX.Element => {
useEffect(() => {
setFormData({
hideSearch: searchConfig('hideSearch', 0),
defaultSearchProvider: searchConfig('defaultSearchProvider', 'd'),
defaultSearchProvider: searchConfig('defaultSearchProvider', 'l'),
searchSameTab: searchConfig('searchSameTab', 0),
});
}, [props.loading]);

View file

@ -17,6 +17,7 @@ const getConfig = (state: State, action: Action): State => {
return {
...state,
loading: false,
config: action.payload,
};
};