diff --git a/src/actions.ts b/src/actions.ts index ed5a590..c950e39 100644 --- a/src/actions.ts +++ b/src/actions.ts @@ -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, diff --git a/src/models/Store/state.ts b/src/models/Store/state.ts index 68d8001..fe7b3e4 100644 --- a/src/models/Store/state.ts +++ b/src/models/Store/state.ts @@ -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[] diff --git a/src/paths.ts b/src/paths.ts index 4e93824..5e2d6e1 100644 --- a/src/paths.ts +++ b/src/paths.ts @@ -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) { @@ -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 {