hunk.code_window: import { SharedModule } from '../shared/shared.module';
   import { USE_CASES } from './usecases';
   import { IntegrationsController } from './integrations.controller';
   @Module({
  
hunk.labels: keep keep add keep keep
hunk.after_edit: import { AuthModule } from '../auth/auth.module';
  
hunk.file_path: apps/api/src/app/integrations/integrations.module.ts
hunk.type: add
file: import { useEffect, useState } from 'react';
  
  export const useIsMounted = () => {
    const [isMounted, setIsMounted] = useState(false);
  
    useEffect(() => {
      setIsMounted(true);
  
      return () => {
        setIsMounted(false);
      };
    }, []);
  
    return isMounted;
  };
  