Fix up PR issues
This commit is contained in:
parent
1b5d2084d8
commit
9e8110b7bc
2 changed files with 12 additions and 26 deletions
|
@ -61,12 +61,6 @@ export function getNoteMenu(props: {
|
|||
}
|
||||
|
||||
function edit(): void {
|
||||
os.confirm({
|
||||
type: "info",
|
||||
text: "This feature is experimental, please be careful and report bugs if you find them to @supakaity@blahaj.zone.",
|
||||
}).then(({ canceled }) => {
|
||||
if (canceled) return;
|
||||
|
||||
os.post({
|
||||
initialNote: appearNote,
|
||||
renote: appearNote.renote,
|
||||
|
@ -74,23 +68,15 @@ export function getNoteMenu(props: {
|
|||
channel: appearNote.channel,
|
||||
editId: appearNote.id,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function duplicate(): void {
|
||||
os.confirm({
|
||||
type: "info",
|
||||
text: "This feature is experimental, please be careful and report bugs if you find them to @supakaity@blahaj.zone.",
|
||||
}).then(({ canceled }) => {
|
||||
if (canceled) return;
|
||||
|
||||
os.post({
|
||||
initialNote: appearNote,
|
||||
renote: appearNote.renote,
|
||||
reply: appearNote.reply,
|
||||
channel: appearNote.channel,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function toggleFavorite(favorite: boolean): void {
|
||||
|
|
Loading…
Reference in a new issue