Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
swap main branch to, well, main
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz authored and jamesdabbs committed Mar 6, 2023
1 parent 4dbcb35 commit 486fa92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function boot(

await refresh({
dispatch,
branch: loaded?.remote?.branch || 'master',
branch: loaded?.remote?.branch || 'main',
host: loaded?.remote?.host || defaultHost,
store: loaded,
handler,
Expand Down
2 changes: 1 addition & 1 deletion src/models/Store/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
TraitId,
} from '@pi-base/core'

export const MAIN_BRANCH = 'master'
export const MAIN_BRANCH = 'main'

export type Proof = {
properties: Id[]
Expand Down
4 changes: 2 additions & 2 deletions src/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const dataRepo = `https://github.com/pi-base/data`
const viewerRepo = `https://github.com/pi-base/viewer`

export function contributeExample() {
return `${dataRepo}/new/master`
return `${dataRepo}/new/main`
}

export function resolveId(id: string) {
Expand All @@ -40,7 +40,7 @@ export function viewerIssues({ body, title }: { body: string; title: string }) {
}

export function contributingGuide() {
return `${dataRepo}/blob/master/CONTRIBUTING.md`
return `${dataRepo}/blob/main/CONTRIBUTING.md`
}

export default {
Expand Down

0 comments on commit 486fa92

Please sign in to comment.