Skip to content

Commit 6520b62

Browse files
author
vbaroni
committed
refactor: remove dark theme import from MapControlFactory and MapPopoverFactory
1 parent d4d4f7f commit 6520b62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/frontend/src/components/keplerGl/factories/MapControlFactory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { useForward } from '../../../hooks';
1616
import { selectFilters, selectFiltersConfig } from '../../../store/selectors';
1717
import { FiltersConfigInterface } from '@datatlas/models';
1818
import { PublishButton } from '../../buttons/PublishButton';
19-
import { darkTheme, lightTheme } from '../../../style/theme';
19+
import { lightTheme } from '../../../style/theme';
2020

2121
const StyledMapControl = styled.div<Pick<MapControlProps, 'theme' | 'top'>>`
2222
right: 0;

apps/frontend/src/components/keplerGl/factories/map/MapPopoverFactory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
FloatingContext,
1919
FloatingFocusManager,
2020
} from '@floating-ui/react';
21-
import { darkTheme, lightTheme } from '../../../../style/theme';
21+
import { lightTheme } from '../../../../style/theme';
2222
import { LayerHoverInfoProps } from './LayerHoverInfo';
2323
import { useIsMobile } from '../../../../hooks';
2424

0 commit comments

Comments
 (0)