mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 02:16:18 +00:00
fix build issue for ui
This commit is contained in:
parent
3c8603e3a5
commit
cc256c853f
@ -41,7 +41,7 @@ import React, {
|
|||||||
useState,
|
useState,
|
||||||
} from 'react';
|
} from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { useHistory } from 'react-router-dom';
|
import { useHistory, useLocation } from 'react-router-dom';
|
||||||
import { ReactComponent as IconCloseCircleOutlined } from '../../assets/svg/close-circle-outlined.svg';
|
import { ReactComponent as IconCloseCircleOutlined } from '../../assets/svg/close-circle-outlined.svg';
|
||||||
import { ReactComponent as DropDownIcon } from '../../assets/svg/drop-down.svg';
|
import { ReactComponent as DropDownIcon } from '../../assets/svg/drop-down.svg';
|
||||||
import { ReactComponent as IconBell } from '../../assets/svg/ic-alert-bell.svg';
|
import { ReactComponent as IconBell } from '../../assets/svg/ic-alert-bell.svg';
|
||||||
@ -57,7 +57,6 @@ import { HELP_ITEMS_ENUM } from '../../constants/Navbar.constants';
|
|||||||
import { useWebSocketConnector } from '../../context/WebSocketProvider/WebSocketProvider';
|
import { useWebSocketConnector } from '../../context/WebSocketProvider/WebSocketProvider';
|
||||||
import { EntityTabs, EntityType } from '../../enums/entity.enum';
|
import { EntityTabs, EntityType } from '../../enums/entity.enum';
|
||||||
import { useApplicationStore } from '../../hooks/useApplicationStore';
|
import { useApplicationStore } from '../../hooks/useApplicationStore';
|
||||||
import useCustomLocation from '../../hooks/useCustomLocation/useCustomLocation';
|
|
||||||
import { useDomainStore } from '../../hooks/useDomainStore';
|
import { useDomainStore } from '../../hooks/useDomainStore';
|
||||||
import { getVersion } from '../../rest/miscAPI';
|
import { getVersion } from '../../rest/miscAPI';
|
||||||
import { isProtectedRoute } from '../../utils/AuthProvider.util';
|
import { isProtectedRoute } from '../../utils/AuthProvider.util';
|
||||||
@ -115,7 +114,7 @@ const NavBar = ({
|
|||||||
const Logo = useMemo(() => brandImageClassBase.getMonogram().src, []);
|
const Logo = useMemo(() => brandImageClassBase.getMonogram().src, []);
|
||||||
const [showVersionMissMatchAlert, setShowVersionMissMatchAlert] =
|
const [showVersionMissMatchAlert, setShowVersionMissMatchAlert] =
|
||||||
useState(false);
|
useState(false);
|
||||||
const location = useCustomLocation();
|
const location = useLocation();
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
const {
|
const {
|
||||||
domainOptions,
|
domainOptions,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user