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:
parent
6f8a017bfb
commit
7129fe83da
6 changed files with 11 additions and 5 deletions
|
@ -1 +1 @@
|
|||
REACT_APP_VERSION=1.6.9
|
||||
REACT_APP_VERSION=1.7.0
|
|
@ -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]);
|
||||
|
|
|
@ -17,6 +17,7 @@ const getConfig = (state: State, action: Action): State => {
|
|||
return {
|
||||
...state,
|
||||
loading: false,
|
||||
config: action.payload,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue