diff --git a/src/routes/projects_new/[projectId]/+page.svelte b/src/routes/projects_new/[projectId]/+page.svelte index 0b6a415ab..9882e8176 100644 --- a/src/routes/projects_new/[projectId]/+page.svelte +++ b/src/routes/projects_new/[projectId]/+page.svelte @@ -2,7 +2,6 @@ import Board from './Board.svelte'; import Tray from './Tray.svelte'; import type { PageData } from './$types'; - import type { Branch } from './types'; import { getStore } from './vbranches'; import { Value } from 'svelte-loadable-store'; @@ -15,18 +14,12 @@ ? $virtualBranches.value : []; let targetChoice = 'origin/master'; // prob should check if it exists - - function handleNewBranch(e: CustomEvent) { - let name = e.detail[0].name; - let path = e.detail[0].files[0].path; - virtualBranches.createBranch(name, path); - } {#if target}
- +
{:else}
diff --git a/src/routes/projects_new/[projectId]/Board.svelte b/src/routes/projects_new/[projectId]/Board.svelte index c945e0f1e..05bd75bd8 100644 --- a/src/routes/projects_new/[projectId]/Board.svelte +++ b/src/routes/projects_new/[projectId]/Board.svelte @@ -28,11 +28,6 @@ } branches = branches; } - - function handleUpdateRequest() { - // TODO: pass this as prop to components and refresh whenever we perform updates - virtualBranches.refresh(); - }
{/each} - +