refactor(workspaces): normalize workspace bootstrap and edit flows
This commit is contained in:
@@ -54,7 +54,7 @@ export default function WorkspaceCreate() {
|
||||
const [isDeleteDialogOpen, setIsDeleteDialogOpen] = useState(false);
|
||||
const [memberIdToDelete, setMemberIdToDelete] = useState<string | null>(null);
|
||||
|
||||
const searchTimeoutRef = useRef<NodeJS.Timeout>();
|
||||
const searchTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
|
||||
const hasUnsavedChanges = name.trim() !== '' || description.trim() !== '' || members.length > 0;
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user