File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import React, { useId } from "react";
22import { fr } from "../fr" ;
33import { symToStr } from "tsafe/symToStr" ;
44import { createComponentI18nApi } from "../i18n" ;
5- import ArtworkLightSvg from "../dsfr/artwork/light.svg?url " ;
6- import ArtworkDarkSvg from "../dsfr/artwork/dark.svg?url " ;
7- import ArtworkSystemSvg from "../dsfr/artwork/system.svg?url " ;
5+ import ArtworkLightSvg from "../dsfr/artwork/light.svg" ;
6+ import ArtworkDarkSvg from "../dsfr/artwork/dark.svg" ;
7+ import ArtworkSystemSvg from "../dsfr/artwork/system.svg" ;
88import { getAssetUrl } from "../tools/getAssetUrl" ;
99import type { HeaderProps } from "../Header" ;
1010import type { FooterProps } from "../Footer" ;
Original file line number Diff line number Diff line change @@ -3,11 +3,6 @@ declare module "*.svg" {
33 export default _default ;
44}
55
6- declare module "*.svg?url" {
7- const _default : string | { src : string } ;
8- export default _default ;
9- }
10-
116declare module "*.png" {
127 const _default : string | { src : string } ;
138 export default _default ;
You can’t perform that action at this time.
0 commit comments