Skip to content
Snippets Groups Projects
Commit 30cbe1b7 authored by Romain CREY's avatar Romain CREY
Browse files

text in header

parent 68754882
Branches
Tags
1 merge request!39Merge DEV to MASTER
......@@ -54,10 +54,24 @@ const Header: React.FC<HeaderProps> = ({
<div className="header-top">
<div className="header-content">
{textKey && (
<div className="header-text text-22-bold">{t(textKey)}</div>
<div
className={`header-text ${
screenType === ScreenType.MOBILE
? 'text-14-normal-uppercase'
: 'text-22-bold'
}`}
>
{t(textKey)}
</div>
)}
{desktopTitleKey && (
<div className="header-text-desktop text-22-bold">
<div
className={`header-text-desktop ${
screenType === ScreenType.MOBILE
? 'text-14-normal-uppercase'
: 'text-22-bold'
}`}
>
{displayBackArrow && (
<StyledIconButton
className="cv-button"
......
......@@ -43,9 +43,6 @@ const SingleFluidViewContainer: React.FC<SingleFluidViewContainerProps> = ({
const defineHeaderHeight = (height: number) => {
setHeaderHeight(height)
}
useEffect(() => {
console.log('chart', isChartLoading, 'in', isIndicatorsLoading)
}, [isChartLoading, isIndicatorsLoading])
return (
<>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment