Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
Prev Previous commit
fix(global-layout): add missing header anchor
  • Loading branch information
mydearxym committed Jul 17, 2022
commit 6a6dd25b06dba19d185951369ee323be646e8da3
4 changes: 2 additions & 2 deletions src/widgets/BannerNotify/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { FC, memo, Fragment } from 'react'

import type { TMetric, TBannerNotifyLayout, TColorName } from '@/spec'
import { BANNER_NOTIFY_LAYOUT } from '@/constant'
import { BANNER_NOTIFY_LAYOUT, ANCHOR } from '@/constant'
import { buildLog } from '@/utils/logger'

import {
Expand Down Expand Up @@ -39,7 +39,7 @@ const BannerNotify: FC<TProps> = ({
bg,
}) => {
return (
<Wrapper testid={testid} bg={bg}>
<Wrapper testid={testid} bg={bg} id={ANCHOR.GLOBAL_HEADER_ID}>
<InnerWrapper
metric={metric}
center={layout === BANNER_NOTIFY_LAYOUT.CENTER}
Expand Down