hunk.code_window: import { IsString } from 'class-validator';
   import { OrganizationCommand } from '../../../../shared/commands/organization.command';
   export class RemoveMemberCommand extends OrganizationCommand {
     @IsString()
  
hunk.labels: replace keep keep keep keep
hunk.after_edit: import { IsMongoId, IsString } from 'class-validator';
  
hunk.file_path: apps/api/src/app/organization/usecases/membership/remove-member/remove-member.command.ts
hunk.type: replace
file: import { useCallback, useEffect, useRef } from 'react';
  import debounce from 'lodash.debounce';
  
  export const useDebounce = <Arguments = unknown | unknown[]>(callback: (args: Arguments) => void, ms = 0) => {
    const callbackRef = useRef(callback);
    callbackRef.current = callback;
  
    const debouncedCallback = useCallback(debounce(callbackRef.current, ms), [ms]);
  
    useEffect(() => debouncedCallback.cancel, []);
  
    return debouncedCallback;
  };
  