Skip to content

Commit

Permalink
Merge pull request #131 from Azure/users/v-pnizetic/preview-map-split
Browse files Browse the repository at this point in the history
Fix entities display bugs and split code
  • Loading branch information
nizetic authored Apr 23, 2024
2 parents a14b79b + 10bea93 commit 894101a
Show file tree
Hide file tree
Showing 8 changed files with 364 additions and 263 deletions.
4 changes: 2 additions & 2 deletions src/pages/layers/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import Layer from './layer';
import { layersWrapper } from './layers.style';
import Preview from './preview-map';
import PreviewMap from './preview-map';

const layersSelector = s => [s.layers, s.setVisited];

Expand All @@ -30,7 +30,7 @@ export const Layers = () => {
</div>
</ColumnLayoutItem>
<FillScreenContainer style={{ overflowY: 'unset' }} offsetBottom={150} offsetRight={20}>
{({ height, width }) => <Preview height={height} width={width} />}
{({ height, width }) => <PreviewMap height={height} width={width} />}
</FillScreenContainer>
</ColumnLayout>
);
Expand Down
Loading

0 comments on commit 894101a

Please sign in to comment.