Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
useEffect(() => {
let tmp = new BulletScreen('.screen');
setCurrScreen(tmp);
}, []);
const handleInput = ({ target: { value } }) => {
useEffect(() => {
if (!currScreen) {
currScreen = new BulletScreen('.screen');
currScreen.push(
,
{ duration: 40, top: '45%' }
);
}
}, []);
const handleInput = ({ target: { value } }) => {