diff --git a/site/source/components/utils/colors.tsx b/site/source/components/utils/colors.tsx index 60680e426..d4e550a70 100644 --- a/site/source/components/utils/colors.tsx +++ b/site/source/components/utils/colors.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useRef, useState } from 'react' import { ThemeProvider } from 'styled-components' -import { hexToHSL } from '@/hexToHSL' +import { hexToHSL } from '@/utils/hexToHSL' import { useIsEmbedded } from './useIsEmbedded' diff --git a/site/source/entries/entry-iframe.ts b/site/source/entries/entry-iframe.ts index 5d4d0aba4..f3464fa66 100644 --- a/site/source/entries/entry-iframe.ts +++ b/site/source/entries/entry-iframe.ts @@ -9,9 +9,9 @@ * aboutir à des bugs liés à une config de bundling différentes. **/ -import { hexToHSL } from '../hexToHSL' // @ts-ignore ignore file not exist error import simulationData from '../public/simulation-data-title.json' +import { hexToHSL } from '../utils/hexToHSL' const script = document.currentScript if (!script) { diff --git a/site/source/hexToHSL.ts b/site/source/utils/hexToHSL.ts similarity index 100% rename from site/source/hexToHSL.ts rename to site/source/utils/hexToHSL.ts diff --git a/site/source/utils.ts b/site/source/utils/index.ts similarity index 100% rename from site/source/utils.ts rename to site/source/utils/index.ts