Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions datahub-web-react/src/app/shared/error/ErrorSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import React from 'react';
import styled, { useTheme } from 'styled-components';

import { ANTD_GRAY } from '@app/entity/shared/constants';
import { resolveRuntimePath } from '@utils/runtimeBasePath';

import dataHubLogo from '@images/datahublogo.png';

const Section = styled.div`
width: auto;
Expand Down Expand Up @@ -60,7 +61,7 @@ const resources = [

export const ErrorSection = (): JSX.Element => {
const themeConfig = useTheme();
const themeLogo = resolveRuntimePath(themeConfig.assets.logoUrl || '@images/datahublogo.png');
const themeLogo = themeConfig.assets.logoUrl || dataHubLogo;

return (
<Section>
Expand Down
Loading