Add utils directory
parent
7bc2f1db68
commit
96a6e79405
|
@ -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'
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue