this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix navigate not working

+10 -6
+10 -6
src/pages/hashtag.jsx
··· 258 258 onClick={(e) => { 259 259 hashtags.splice(i, 1); 260 260 hashtags.sort(); 261 - navigate( 262 - instance 263 - ? `/${instance}/t/${hashtags.join('+')}` 264 - : `/t/${hashtags.join('+')}`, 265 - ); 261 + // navigate( 262 + // instance 263 + // ? `/${instance}/t/${hashtags.join('+')}` 264 + // : `/t/${hashtags.join('+')}`, 265 + // ); 266 + location.hash = instance 267 + ? `/${instance}/t/${hashtags.join('+')}` 268 + : `/t/${hashtags.join('+')}`; 266 269 }} 267 270 > 268 271 <Icon icon="x" alt="Remove hashtag" class="danger-icon" /> ··· 317 320 } 318 321 if (newInstance) { 319 322 newInstance = newInstance.toLowerCase().trim(); 320 - navigate(`/${newInstance}/t/${hashtags.join('+')}`); 323 + // navigate(`/${newInstance}/t/${hashtags.join('+')}`); 324 + location.hash = `/${newInstance}/t/${hashtags.join('+')}`; 321 325 } 322 326 }} 323 327 >