Update index.js

This commit is contained in:
Sam Poder 2024-05-21 09:02:15 -07:00 committed by GitHub
parent e93acc0a18
commit d1a2939853
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,12 +48,6 @@ badges.__proto__.forOrg = function (org) {
} }
export const tags = [ export const tags = [
{
label: 'Climate',
id: 'Climate',
color: '#1eb36d',
match: org => true
},
{ {
label: 'Nonprofit', label: 'Nonprofit',
id: 'Nonprofit', id: 'Nonprofit',
@ -258,10 +252,6 @@ export default function Directory({ rawOrganizations, pageRegion }) {
const [offset, setOffset] = useState(0) const [offset, setOffset] = useState(0)
// const [region, setRegion] = useState(pageRegion); // const [region, setRegion] = useState(pageRegion);
const region = pageRegion const region = pageRegion
// useEffect(() => {
// // history.pushState(null, null, `/fiscal-sponsorship/climate/organizations-in-${region.toLowerCase().split(' ').join('-')}`);
// }, [region]);
const [modalOrganization, setModalOrganization] = useState(null) const [modalOrganization, setModalOrganization] = useState(null)
useEffect(() => { useEffect(() => {