mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-23 00:15:13 +00:00
fix: lint
This commit is contained in:
parent
313cbb19db
commit
4a63114ef0
2 changed files with 7 additions and 6 deletions
|
@ -189,7 +189,7 @@ function calcAge(birthdate: string): number {
|
||||||
|
|
||||||
const XPhotos = defineAsyncComponent(() => import('./index.photos.vue'));
|
const XPhotos = defineAsyncComponent(() => import('./index.photos.vue'));
|
||||||
const XActivity = defineAsyncComponent(() => import('./index.activity.vue'));
|
const XActivity = defineAsyncComponent(() => import('./index.activity.vue'));
|
||||||
const XListenBrainz = defineAsyncComponent(() => import("./index.listenbrainz.vue"));;
|
const XListenBrainz = defineAsyncComponent(() => import("./index.listenbrainz.vue"));
|
||||||
|
|
||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
user: Misskey.entities.UserDetailed;
|
user: Misskey.entities.UserDetailed;
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
/* eslint-disable no-mixed-spaces-and-tabs */
|
||||||
import {} from "vue";
|
import {} from "vue";
|
||||||
import * as misskey from "misskey-js";
|
import * as misskey from "misskey-js";
|
||||||
import MkContainer from "@/components/MkContainer.vue";
|
import MkContainer from "@/components/MkContainer.vue";
|
||||||
|
@ -45,7 +46,7 @@ if (props.user.listenbrainz) {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
if (!data.recording_name) {
|
if (!data.recording_name) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue