⚙️ Fix type assertion for svgsData to ensure correct typing as iSVG[]

This commit is contained in:
pheralb
2025-08-25 19:07:15 +01:00
parent 0da0ccfc37
commit 9c970c0546
+1 -1
View File
@@ -3,7 +3,7 @@ import { svgs } from "./svgs";
export const svgsData = svgs.map((svg: iSVG, index: number) => { export const svgsData = svgs.map((svg: iSVG, index: number) => {
return { id: index, ...svg }; return { id: index, ...svg };
}); }) as iSVG[];
export const getCategories = () => { export const getCategories = () => {
const categories = svgs const categories = svgs