Skip to content

Remove debug logs and UNSAFE/experimental imports #15

@sugan0tech

Description

@sugan0tech

Summary
Remove debug logging and experimental/UNSAFE imports to keep the codebase clean and production-ready.

Context

  • src/components/space/EditSpace.tsx contains console.log calls used for debugging.
  • Experimental/UNSAFE imports (e.g., UNSAFE_getPatchRoutesOnNavigationFunction, UNSAFE_createClientRoutesWithHMRRevalidationOptOut) appear but are not used.

Tasks

  • Remove console.log statements and similar debug output from committed code.
  • Delete experimental/UNSAFE imports and any dead code guarded by them.
  • Ensure no behavior changes; replace logs with toasts or proper error handling if needed.

Acceptance Criteria

  • npm run lint passes without console or unused import warnings in affected files.
  • No change in user-facing behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions