civictechindex / CTI-website-frontend

Join a worldwide movement to catalog 
every open source 
civic tech project.
https://civictechindex.org
MIT License
31 stars 29 forks source link

Fix or replace use-query-params for org search #1242

Closed fyliu closed 2 years ago

fyliu commented 2 years ago

Overview

We need to either fix or replace the way the query params is done for the organizations search to fix a bug. To reproduce the bug:

  1. Type "Code for A" in the search box
  2. Press F5 several times to refresh the page
  3. See the problem in the search box with each refresh

Action Items

Resources/Instructions

use-query-params docs

bruceplai commented 2 years ago

This is fixed with decodeURIComponent