This commit is contained in:
Oleg Proskurin 2025-12-04 13:18:57 +07:00
parent 4f59f775ae
commit 0c656d21a2
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import { useState, useEffect, ReactNode } from 'react';
export default function GlowEffect({children}) {
export default function GlowEffect({ children }: { children: ReactNode }) {
const [isPropertyRegistered, setIsPropertyRegistered] = useState(false);
// Register CSS property in component body (before render)