From e85245c0322e8a74f844374e849760a3f7e3968a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 13:58:29 +0000 Subject: [PATCH 1/2] Initial plan From 07d54fd1b91a8f4b4de9d167a0a850f62afaed3f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 14:00:28 +0000 Subject: [PATCH 2/2] fix(ali-je-vroce): convert getDescriptionsForTemperature to createMemo for reactive tracking Co-authored-by: jalezi <44704999+jalezi@users.noreply.github.com> --- code/ali-je-vroce/vroce.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ali-je-vroce/vroce.tsx b/code/ali-je-vroce/vroce.tsx index 92bed93..274e743 100644 --- a/code/ali-je-vroce/vroce.tsx +++ b/code/ali-je-vroce/vroce.tsx @@ -1,4 +1,4 @@ -import { onMount, Show } from "solid-js"; +import { createMemo, onMount, Show } from "solid-js"; import { vrednosti, opisi, opisi_pod_30, percentile_labels } from "./constants.ts"; // Import custom hooks @@ -70,13 +70,13 @@ export function AliJeVroce() { initialize(); }); - const getDescriptionsForTemperature = () => { + const getDescriptionsForTemperature = createMemo(() => { const avg = tempAvg(); if (avg != null && Number.isFinite(+avg) && +avg < 30) { return opisi_pod_30; } return opisi; - }; + }); return (