diff --git a/front/apps/web/package.json b/front/apps/web/package.json index b7395772..52d51f95 100644 --- a/front/apps/web/package.json +++ b/front/apps/web/package.json @@ -2,7 +2,9 @@ "name": "web", "version": "0.1.0", "private": true, - "sideEffects": ["./src/polyfill.ts"], + "sideEffects": [ + "./src/polyfill.ts" + ], "scripts": { "dev": "next dev", "build": "next build", diff --git a/front/packages/primitives/src/image/blurhash.web.tsx b/front/packages/primitives/src/image/blurhash.web.tsx index 27e8726d..802610ac 100644 --- a/front/packages/primitives/src/image/blurhash.web.tsx +++ b/front/packages/primitives/src/image/blurhash.web.tsx @@ -292,7 +292,7 @@ export const BlurhashContainer = ({ useLayoutEffect(() => { // If the html is empty, it was not SSRed. - if (ref.current?.innerHTML === '') setRenderType("client"); + if (ref.current?.innerHTML === "") setRenderType("client"); }, []); return ( diff --git a/front/packages/primitives/src/input.tsx b/front/packages/primitives/src/input.tsx index a6cf7561..7f568923 100644 --- a/front/packages/primitives/src/input.tsx +++ b/front/packages/primitives/src/input.tsx @@ -64,7 +64,12 @@ export const Input = forwardRef< onFocus={() => setFocused(true)} onBlur={() => setFocused(false)} {...css( - { flexGrow: 1, color: (theme: Theme) => theme.colors.white, borderWidth: 0, ...focusReset }, + { + flexGrow: 1, + color: (theme: Theme) => theme.colors.white, + borderWidth: 0, + ...focusReset, + }, props, )} />