Home / Function/ projectsStore.setSelectedBranch() — supabase Function Reference

projectsStore.setSelectedBranch() — supabase Function Reference

Architecture documentation for the projectsStore.setSelectedBranch() function in ProjectConfigVariables.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  1f96bfaf_0ad7_0816_ca62_0a3441d4f70b["projectsStore.setSelectedBranch()"]
  d2b86cf8_33ab_11da_bb80_d1beedac361c["storeOrRemoveNull()"]
  1f96bfaf_0ad7_0816_ca62_0a3441d4f70b -->|calls| d2b86cf8_33ab_11da_bb80_d1beedac361c
  style 1f96bfaf_0ad7_0816_ca62_0a3441d4f70b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx lines 82–85

  setSelectedBranch: (branch: Branch | null) => {
    projectsStore.selectedBranch = branch
    storeOrRemoveNull('local', LOCAL_STORAGE_KEYS.SAVED_BRANCH, branch?.id)
  },

Subdomains

Frequently Asked Questions

What does projectsStore.setSelectedBranch() do?
projectsStore.setSelectedBranch() is a function in the supabase codebase.
What does projectsStore.setSelectedBranch() call?
projectsStore.setSelectedBranch() calls 1 function(s): storeOrRemoveNull.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free