From 2b5e43cfb511c6ea3fdc6895c7713ed012f2f982 Mon Sep 17 00:00:00 2001 From: pheralb Date: Sat, 16 Dec 2023 20:11:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Clean=20comments.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/data/index.ts b/src/data/index.ts index 32d65bc..bd19731 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -2,12 +2,10 @@ import type { iSVG } from '@/types/svg'; import { svgs } from './svgs'; import { getBaseUrl } from '@/utils/getBaseUrl'; -// Add id on top of each svg: export const svgsData = svgs.map((svg: iSVG, index: number) => { return { id: index, ...svg }; }); -// Add full route of each svg, checking if theme support is added: export const fullRouteSvgsData: iSVG[] = svgsData.map((svg) => { const url = getBaseUrl(); if (typeof svg.route === 'object' && svg.route !== null) {