Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
brojd committed Jun 5, 2024
1 parent 3aa104c commit 239f8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ import { Block } from 'components/GBlock/Block';
import { PluginLink } from 'components/PluginLink/PluginLink';
import { Text } from 'components/Text/Text';
import { WithPermissionControlDisplay } from 'containers/WithPermissionControl/WithPermissionControlDisplay';
import { ActionKey } from 'models/loader/action-keys';
import { UserHelper } from 'models/user/user.helpers';
import { ApiSchemas } from 'network/oncall-api/api.types';
import { AppFeature } from 'state/features';
import { RootStore, rootStore as store } from 'state/rootStore';
import { UserActions } from 'utils/authorization/authorization';
import { useInitializePlugin, useOnMount } from 'utils/hooks';
import { useInitializePlugin } from 'utils/hooks';
import { isMobile, openErrorNotification, openNotification, openWarningNotification } from 'utils/utils';

import styles from './MobileAppConnection.module.scss';
Expand Down
5 changes: 1 addition & 4 deletions grafana-plugin/src/utils/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ import React, { ComponentProps, useEffect, useRef, useState } from 'react';

import { ConfirmModal, useStyles2 } from '@grafana/ui';
import { useLocation } from 'react-router-dom';
import { AppRootProps } from 'types';

import { ActionKey } from 'models/loader/action-keys';
import { LoaderHelper } from 'models/loader/loader.helpers';
import { makeRequest } from 'network/network';
import { rootStore } from 'state/rootStore';
import { useStore } from 'state/useStore';

import { LocationHelper } from './LocationHelper';
import { getCommonStyles } from './styles';
import { getIsRunningOpenSourceVersion } from './utils';
import { RootStore, rootStore } from 'state/rootStore';

export function useForceUpdate() {
const [, setValue] = useState(0);
Expand Down

0 comments on commit 239f8d3

Please sign in to comment.