Skip to content

Commit

Permalink
fix(component): fix workspace input (#5381)
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN authored Dec 22, 2023
1 parent 77d239f commit 8b28761
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { useSetAtom } from 'jotai';
import {
type KeyboardEvent,
type MouseEvent,
startTransition,
useCallback,
useEffect,
useState,
Expand Down Expand Up @@ -119,9 +118,7 @@ export const ProfilePanel = ({ isOwner, workspace }: ProfilePanelProps) => {
);

const handleSetInput = useCallback((value: string) => {
startTransition(() => {
setInput(value);
});
setInput(value);
}, []);

const handleKeyUp = useCallback(
Expand Down

0 comments on commit 8b28761

Please sign in to comment.