Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: taiy <[email protected]>
  • Loading branch information
kakkokari-gtyih and taiyme authored Jul 11, 2024
1 parent 565bcb5 commit 69abbd6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkNoteDetailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ if (appearNote.value.reactionAcceptance === 'likeOnly') {
});
}

async function renote() {
function renote() {
pleaseLogin();
showMovedDialog();

const { menu } = await getRenoteMenu({ note: note.value, renoteButton, canRenote: canRenote.value });
const { menu } = getRenoteMenu({ note: note.value, renoteButton });
os.popupMenu(menu, renoteButton.value);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkPagePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const props = defineProps<{
outline: none;

&::after {
content: '';
content: "";
position: absolute;
top: 0;
left: 0;
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 @@ -680,7 +680,7 @@ export function post(props: Record<string, any> = {}): Promise<void> {
const { dispose } = popup(MkPostFormDialog, props, {
closed: () => {
resolve();
dispose?.();
dispose();
},
});
});
Expand Down

0 comments on commit 69abbd6

Please sign in to comment.