Skip to content

Commit

Permalink
Use type inference
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Haals <[email protected]>
  • Loading branch information
jhaals committed Sep 22, 2022
1 parent 68415c6 commit 24453ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions website/src/utils/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ export const decryptMessage = async (
});
};

export const encryptMessage = async (
data: string,
passwords: string,
): Promise<string> => {
export const encryptMessage = async (data: string, passwords: string) => {
return encrypt({
message: await createMessage({ text: data }),
passwords,
Expand Down

0 comments on commit 24453ff

Please sign in to comment.