chore: cleanup
This commit is contained in:
parent
d0d0503a13
commit
4139be32f9
|
@ -110,7 +110,7 @@ async function loginTo(user?: Omit<UserLogin, 'account'> & { account?: mastodon.
|
||||||
const instance = await fetchV1Instance({
|
const instance = await fetchV1Instance({
|
||||||
url,
|
url,
|
||||||
})
|
})
|
||||||
const masto = await createClient({
|
const masto = createClient({
|
||||||
url,
|
url,
|
||||||
streamingApiUrl: instance.urls.streamingApi,
|
streamingApiUrl: instance.urls.streamingApi,
|
||||||
accessToken: user?.token,
|
accessToken: user?.token,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { mastodon } from 'masto'
|
import type { mastodon } from 'masto'
|
||||||
import { satisfies } from 'semver'
|
|
||||||
import { useForm } from 'slimeform'
|
import { useForm } from 'slimeform'
|
||||||
import { parse } from 'ultrahtml'
|
import { parse } from 'ultrahtml'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue