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:
@@ -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 (
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
.scrollWrapper::before,
|
||||
.scrollWrapper::after {
|
||||
content: '';
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user