1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

refactor: 'use client' when appropriate

This commit is contained in:
2023-07-30 18:50:14 +02:00
parent 70603f1444
commit 6d0dcb50a7
11 changed files with 21 additions and 13 deletions

View File

@ -1,3 +1,5 @@
'use client'
import { useEffect, useRef } from 'react'
export const RevealFade: React.FC<React.PropsWithChildren> = (props) => {

View File

@ -1,5 +1,5 @@
import { ShadowContainer } from '../ShadowContainer'
import { SectionHeading } from './SectionHeading'
import { ShadowContainer } from '@/components/design/ShadowContainer'
import { SectionHeading } from '@/components/design/Section/SectionHeading'
type SectionProps = React.ComponentPropsWithRef<'section'> & {
heading?: string