fix: Final TypeScript fixes

Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
Hermes Agent
2026-06-16 09:15:33 -04:00
parent 986c09ce55
commit caa1e723a4
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import React, { HTMLAttributes } from 'react' import React, { HTMLAttributes } from 'react'
import { useSpotlightStore } from '../state/spotlightStore' import { useSpotlightStore } from '../../state/spotlightStore'
interface SpotlightProps extends HTMLAttributes<HTMLDivElement> {} interface SpotlightProps extends HTMLAttributes<HTMLDivElement> {}

View File

@@ -1,4 +1,4 @@
import React, { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
export const useDebounce = <T>(value: T, delay: number): T => { export const useDebounce = <T>(value: T, delay: number): T => {
const [debouncedValue, setDebouncedValue] = useState(value) const [debouncedValue, setDebouncedValue] = useState(value)
@@ -47,4 +47,4 @@ export const useResizeObserver = (
return () => observer.disconnect() return () => observer.disconnect()
}, [ref, onResize]) }, [ref, onResize])
} }

View File

@@ -36,4 +36,4 @@ export const destroyCRDT = () => {
doc?.destroy() doc?.destroy()
doc = null doc = null
provider = null provider = null
} }