Add default empty value for pagespeedApiKey in settings
This commit is contained in:
1 parent
6268b2573c
commit
9b3085c84d
3 files changed
+5
-2
No files matched your search
+3
-1
@@ -53,7 +53,9 @@ function App() {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(getAppSettings({ authToken }));
|
||||
if (authToken) {
|
||||
dispatch(getAppSettings({ authToken }));
|
||||
}
|
||||
}, [dispatch, authToken]);
|
||||
|
||||
// Cleanup
|
||||
|
||||
Reference in new issue
Block a user