Skip to content

Mouse hovering on the canvas errors #1

@amiraryan1996

Description

@amiraryan1996

Uncaught ReferenceError: assignment to undeclared variable clientY
I receive this error initially and every time hovering over the canvas.

shader component:

'use client'
import { Shader as ReactShader } from 'react-shaders'

interface IProps {
fs: string
textures?: { url: string }[]
}
export default function Shader(props: IProps) {
const { fs, textures } = props

return <ReactShader textures={textures} fs={${fs}} />
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions