diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 40b38e3..d9b7017 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -84,7 +84,9 @@ export const getFileDetails = (fileOrAttachment: File | APIAttachment) => { export const isTauri = !!window.__TAURI_INTERNALS__; export function rgbToHsl(r: number, g: number, b: number) { - (r /= 255), (g /= 255), (b /= 255); + r /= 255; + g /= 255; + b /= 255; const max = Math.max(r, g, b), min = Math.min(r, g, b);