fix(component): fix workspace input (#5381)

This commit is contained in:
EYHN authored and GitHub committed 2023-12-22 08:26:14 +00:00
1 parent 77d239ff81
commit 8b28761a8a
1 file changed
+1 -4
@@ -14,7 +14,6 @@ import { useSetAtom } from 'jotai';
import { import {
type KeyboardEvent, type KeyboardEvent,
type MouseEvent, type MouseEvent,
startTransition,
useCallback, useCallback,
useEffect, useEffect,
useState, useState,
@@ -119,9 +118,7 @@ export const ProfilePanel = ({ isOwner, workspace }: ProfilePanelProps) => {
); );
const handleSetInput = useCallback((value: string) => { const handleSetInput = useCallback((value: string) => {
startTransition(() => { setInput(value);
setInput(value);
});
}, []); }, []);
const handleKeyUp = useCallback( const handleKeyUp = useCallback(