From 0423ada1f9e18696dbc5cd9eabcd0a718682dd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Fri, 3 Jan 2025 11:44:26 +0100 Subject: [PATCH] fix: fix imagekit implementation --- apps/frontend/src/ui/ImageKitPicture.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/ui/ImageKitPicture.tsx b/apps/frontend/src/ui/ImageKitPicture.tsx index 13d4dfdab..91b2a9a89 100644 --- a/apps/frontend/src/ui/ImageKitPicture.tsx +++ b/apps/frontend/src/ui/ImageKitPicture.tsx @@ -46,7 +46,7 @@ export function ImageKitPicture(props: ImageKitPictureProps) { } export function imgkit(url: string, parameters: string[]): string { - if (checkIsImageKitUrl(url)) { + if (!checkIsImageKitUrl(url)) { return url; } return `${url}?${parameters.join("&")}`;