diff --git a/front-end/views/hashtag.mjs b/front-end/views/hashtag.mjs index 7b7e996..d40ceb4 100644 --- a/front-end/views/hashtag.mjs +++ b/front-end/views/hashtag.mjs @@ -16,8 +16,11 @@ import {createHeading} from "../components/heading.mjs"; function hashtagView(hashtag) { destroy(); + const tag=hashtag.startsWith("#")?hashtag:`#${hashtag}` + if(state.currentHashtag!==tag){ apiService.getBloomsByHashtag(hashtag); +} renderOne( state.isLoggedIn,