Fix unique id warning
This commit is contained in:
@@ -3,7 +3,7 @@ import React from 'react'
|
||||
const FitCenter: React.FC<PropsWithChildren> = (props: PropsWithChildren) => {
|
||||
return (
|
||||
<>
|
||||
<div id={'fit-center'}>{props.children}</div>
|
||||
<div className={'fit-center'}>{props.children}</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ const FitFullScreen: React.FC<FitFullscreenProps> = (props: FitFullscreenProps)
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
id={'fit-fullscreen'}
|
||||
className={'fit-fullscreen'}
|
||||
style={{
|
||||
zIndex: props.zIndex,
|
||||
backgroundColor: props.backgroundColor
|
||||
|
||||
@@ -16,7 +16,7 @@ const LoadingMask: React.FC = () => {
|
||||
return (
|
||||
<>
|
||||
<FitFullScreen>
|
||||
<div id={'loading-mask'}>
|
||||
<div className={'loading-mask'}>
|
||||
<AntdSpin indicator={loadingIcon} />
|
||||
</div>
|
||||
</FitFullScreen>
|
||||
|
||||
Reference in New Issue
Block a user