add useSelector to get pagespeedApiKey
This commit is contained in:
1 parent
626bf381cf
commit
97f9d91066
1 file changed
+1
@@ -21,6 +21,7 @@ const PageSpeed = () => {
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const isAdmin = useIsAdmin();
|
const isAdmin = useIsAdmin();
|
||||||
const { user } = useSelector((state) => state.auth);
|
const { user } = useSelector((state) => state.auth);
|
||||||
|
const { pagespeedApiKey } = useSelector((state) => state.settings);
|
||||||
|
|
||||||
const { isLoading, monitors, summary, networkError } = useMonitorsFetch({
|
const { isLoading, monitors, summary, networkError } = useMonitorsFetch({
|
||||||
teamId: user.teamId,
|
teamId: user.teamId,
|
||||||
|
|||||||
Reference in new issue
Block a user