Merged in fix/3697-prettier-configs (pull request #3396)

fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Rasmus Langvad
2026-01-07 12:45:50 +00:00
parent 932413412b
commit d0546926a9
500 changed files with 18367 additions and 18419 deletions

View File

@@ -1,10 +1,10 @@
'use client'
"use client"
import { useMemo } from 'react'
import { useMemo } from "react"
import styles from './scrollWrapper.module.css'
import styles from "./scrollWrapper.module.css"
import useScrollShadows from '@scandic-hotels/common/hooks/useScrollShadows'
import useScrollShadows from "@scandic-hotels/common/hooks/useScrollShadows"
export default function ScrollWrapper({
className,
@@ -21,7 +21,7 @@ export default function ScrollWrapper({
if (showRightShadow) {
cls.push(styles.rightShadow)
}
return cls.join(' ')
return cls.join(" ")
}, [showLeftShadow, showRightShadow, className])
return (

View File

@@ -5,7 +5,7 @@
.scrollWrapper::before,
.scrollWrapper::after {
content: '';
content: "";
position: absolute;
top: 0;
height: 100%;