Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kamecha committed Oct 27, 2024
1 parent 7bc6b69 commit 1c325c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions denops/traqvim/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export const actionAddMessageStamp = async (
if (m.id === message.id) {
return {
...m,
stamps: updatedMessage
stamps: updatedMessage,
};
} else {
return m;
Expand All @@ -321,7 +321,7 @@ export const actionAddMessageStamp = async (
bufNum,
editedTimeline.find((m) => m.id === message.id),
);
}
};

export const actionRemoveMessageStamp = async (
denops: Denops,
Expand Down
4 changes: 2 additions & 2 deletions denops/traqvim/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export const downloadFile = async (
console.error(e);
}
return new Uint8Array();
}
};

export const getStampId = async (
stampName: string,
Expand All @@ -397,7 +397,7 @@ export const getStampId = async (
return stamp.name === stampName;
});
return stamp?.id;
}
};

export const getMessageStamps = async (
messageId: string,
Expand Down

0 comments on commit 1c325c2

Please sign in to comment.