Skip to content

Commit 6935b61

Browse files
committed
refactor: remove space between the credit line and vis
1 parent 8f0ccfb commit 6935b61

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vis/js/templates/footers/CreateMapButton.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ export const CreateMapButton: FC = () => {
1010
const isEmbed = useSelector(getIsEmbed);
1111
const { isGeoMap } = useVisualizationType();
1212

13-
if (isEmbed) {
13+
if (isEmbed || isGeoMap) {
1414
return null;
1515
}
1616

17-
if (isGeoMap) {
18-
return <div className="space_between_visualization_and_footer" />;
19-
}
20-
2117
return (
2218
<div className="create_knowledge_map_button_container">
2319
<p className="try-now">

0 commit comments

Comments
 (0)