Skip to content

Commit ff3a5aa

Browse files
committed
fix lint and typecheck
1 parent 028239f commit ff3a5aa

6 files changed

Lines changed: 23 additions & 12 deletions

File tree

app/components/Leaflet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ref, watch } from 'vue'
2+
import { ref } from 'vue'
33
44
interface Publication {
55
uri: string

app/components/Sidetrail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { computed, ref, watch } from 'vue'
2+
import { computed, ref } from 'vue'
33
44
const { handle } = useHandle()
55
const { setLoading } = useLoading()

app/components/Tangled.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ref, watch } from 'vue'
2+
import { ref } from 'vue'
33
44
interface TangledProfile {
55
uri: string

app/composables/atproto.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BskyAgent } from '@atproto/api'
1+
import { AtpAgent } from '@atproto/api'
22

33
/**
44
* Create and return BskyAgent instances
@@ -8,12 +8,12 @@ import { BskyAgent } from '@atproto/api'
88
*/
99
export function useAtproto() {
1010
// Agent for app.bsky.* API
11-
const bskyAgent = new BskyAgent({
11+
const bskyAgent = new AtpAgent({
1212
service: 'https://public.api.bsky.app',
1313
})
1414

1515
// Agent for com.atproto.repo.* API
16-
const repoAgent = new BskyAgent({
16+
const repoAgent = new AtpAgent({
1717
service: 'https://bsky.social',
1818
})
1919

@@ -24,4 +24,3 @@ export function useAtproto() {
2424
repoAgent,
2525
}
2626
}
27-

app/config/pwa.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import type { ModuleOptions } from '@vite-pwa/nuxt'
2+
// eslint-disable-next-line ts/ban-ts-comment
3+
// @ts-expect-error
24
import process from 'node:process'
35
import { appDescription, appName } from '../constants/index'
46

pnpm-lock.yaml

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)