mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-26 20:57:20 +00:00
fix: top fade should be calculated on first render too
if page had been scrolled and refreshed the wrong initial value was used
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import Image from 'next/image';
|
||||
import Link, { LinkProps } from 'next/link';
|
||||
import Wrapper from './Wrapper';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
|
||||
Reference in New Issue
Block a user