Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Esurio committed Jun 30, 2024
1 parent 7e4b5a1 commit 1457d33
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkQrcode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div :class="$style.title">
<QRCodeVue3
:value="qrCode"
:qrOptions="{ errorCorrectionLevel: 'H' }"
:qrOptions="{ errorCorrectionLevel: 'H' }"
:cornersSquareOptions="{ type: 'extra-rounded' }"
:cornersDotOptions="{ type: 'square' }"
:dotsOptions="{
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/os.ts
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ export async function displayQrCode(qrCode: string) {
resolve(dispose);
},
},
).then((res) =>{
).then((res) => {
dispose = res.dispose;
});
})
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/follow-me.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if (!remoteAccountId.result) {
const subscribeUri = data.links.find(
(link: { rel: string }) => link.rel === "http://ostatus.org/schema/1.0/subscribe",
).template;
window.location.href = subscribeUri.replace("{uri}", accountUri.includes("@") ? accountUri: `${accountUri}@${hostRaw}`,);
window.location.href = subscribeUri.replace("{uri}", accountUri.includes("@") ? accountUri : `${accountUri}@${hostRaw}`,);
})
.catch((_) => {
window.location.href = `/@${accountUri}`;
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/gallery/post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function shareWithNote() {
}
function shareQrCode() {
os.displayQrCode(`${url}/gallery/${post.value.id}`)
os.displayQrCode(`${url}/gallery/${post.value.id}`);
}
function like() {
Expand Down

0 comments on commit 1457d33

Please sign in to comment.