Anish Kumar Arya

Results 11 comments of Anish Kumar Arya

> Solved: > > `const [ state, setstate ] = React.useState(null);` > `React.useEffect(() => {` > `listenOrientationChange(setstate);` > `return () => {` > `removeOrientationListener();` > `};}, []);` > > And...

i want that whenever i click on the button, it animates for some duration(say 2 seconds) and then another activity is opened through intent. how can it be done? in...

Changing from onValueChange to onChange gives another error: `TypeError:_this2.toggleSwitch is not a function. (In '_this2.toggleSwitch("itemAvailable")', '_this2.toggleSwitch' is undefined)`

need more information on this, Do you see anything in the terminal or browser's console. Did you double check the routes?

try deleting node_modules and then run npm i command. Then run the shadcn command. Should fix it.

did you import the css file from video-react-sdk?? Try adding import "@stream-io/video-react-sdk/dist/css/styles.css"; in base layout.tsx where you calling ClerkProvider component.

I am also facing same error npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16||^17" from [email protected]...

> I "fixed it" by copying de src code into my own component and importing it from there. I'm using react 18 and vite 4. same worked for me, I...