Add utils directory

pull/2529/head
Jérémy Rialland 2023-02-27 13:31:16 +01:00 committed by Johan Girod
parent 7bc2f1db68
commit 96a6e79405
4 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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) {