chore(app): cleanup

This commit is contained in:
moklick
2023-01-26 10:42:50 +01:00
parent 3078777b28
commit b80efb7dd3
8 changed files with 16 additions and 15 deletions
@@ -40,6 +40,7 @@ export const MarkerSymbols = {
export function useMarkerSymbol(type: MarkerType) {
const store = useStoreApi();
const symbol = useMemo(() => {
const symbolExists = Object.prototype.hasOwnProperty.call(MarkerSymbols, type);
@@ -51,6 +52,7 @@ export function useMarkerSymbol(type: MarkerType) {
return MarkerSymbols[type];
}, [type]);
return symbol;
}