Use location?.type once more

This commit is contained in:
Fredrik Adelöw
2020-06-10 11:46:18 +02:00
parent 4ba017d1e8
commit 5a8aee4a5c
@@ -92,7 +92,7 @@ export const CatalogPage: FC<{}> = () => {
if (!location) return;
window.open(location.target, '_blank');
},
hidden: location ? location?.type !== 'github' : true,
hidden: location?.type !== 'github',
};
},
(rowData: Entity) => {