mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Added i18n configs
This commit is contained in:
@@ -21,6 +21,7 @@ const Layout: FC<Props> = ({ children, pageProps }) => {
|
||||
const [hasScrolled, setHasScrolled] = useState(false)
|
||||
|
||||
// TODO: Update code, add throttle and more.
|
||||
// TODO: Make sure to not do any unnecessary updates as it's doing right now
|
||||
useEffect(() => {
|
||||
const offset = 0
|
||||
function handleScroll() {
|
||||
|
Reference in New Issue
Block a user