mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🔧 Fixed svgs data.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import type { iSVG } from '@/types/svg';
|
||||
import { svgs } from './svgs';
|
||||
|
||||
export const svgsData = svgs.map((svg: iSVG, index: number) => {
|
||||
svg.id = index;
|
||||
return svg;
|
||||
});
|
||||
Reference in New Issue
Block a user