Fix lint errors in SyncButton

This commit is contained in:
Mattias Granlund 2024-04-01 15:23:37 +02:00
parent 8d2fe6574d
commit 139d535b36

View File

@ -8,15 +8,12 @@
import { BaseBranchService } from '$lib/vbranches/branchStoresCache'; import { BaseBranchService } from '$lib/vbranches/branchStoresCache';
const project = getContext(Project); const project = getContext(Project);
let cloudEnabled: boolean;
const githubService = getContext(GitHubService); const githubService = getContext(GitHubService);
const baseBranchService = getContext(BaseBranchService); const baseBranchService = getContext(BaseBranchService);
const baseBranch = baseBranchService.base; const baseBranch = baseBranchService.base;
$: baseServiceBusy$ = baseBranchService.busy$; $: baseServiceBusy$ = baseBranchService.busy$;
$: cloudEnabled = project?.api?.sync || false; $: cloudEnabled = project.api?.sync || false;
</script> </script>
<Tag <Tag