diff --git a/packages/geoview-core/src/core/components/common/close-button.tsx b/packages/geoview-core/src/core/components/common/close-button.tsx index 40ed6202c1a..bd95b7b0bf5 100644 --- a/packages/geoview-core/src/core/components/common/close-button.tsx +++ b/packages/geoview-core/src/core/components/common/close-button.tsx @@ -16,10 +16,11 @@ interface CloseButtonProps { * @returns JSX.element */ export function CloseButton({ isLayersPanelVisible, setIsLayersPanelVisible }: CloseButtonProps) { - const { t } = useTranslation(); - const theme = useTheme(); + const { t } = useTranslation(); + const theme = useTheme(); const sxClasses = getSxClasses(theme); + return (