From d67f9bc588ae917fb2525fe84b5ddab0fe824b61 Mon Sep 17 00:00:00 2001 From: Raihan Sharif Date: Wed, 14 Oct 2026 13:00:47 +0100 Subject: [PATCH 1/2] add .vscode to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e43b0f98..2608ec26 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +.vscode \ No newline at end of file From 95baa9574d9ea1ced85be6294608cc12ccb4c8ba Mon Sep 17 00:00:00 2001 From: Raihan Sharif Date: Wed, 14 Oct 2026 15:04:58 +0100 Subject: [PATCH 2/2] fix: infinite loop of fetching blooms by hashtag. --- front-end/views/hashtag.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/front-end/views/hashtag.mjs b/front-end/views/hashtag.mjs index 7b7e9969..04169046 100644 --- a/front-end/views/hashtag.mjs +++ b/front-end/views/hashtag.mjs @@ -17,7 +17,9 @@ import {createHeading} from "../components/heading.mjs"; function hashtagView(hashtag) { destroy(); - apiService.getBloomsByHashtag(hashtag); + if (`#${hashtag}` !== state.currentHashtag) { + apiService.getBloomsByHashtag(hashtag); + } renderOne( state.isLoggedIn,