Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #115

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

fix #115

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: "yarn"

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"lint:tsc": "tsc --project .",
"lint:yarn-dedupe": "yarn dedupe --check",
"start": "next start",
"prepare": "husky install",
"postinstall": "husky install",
"prisma": "node -r dotenv-flow/config ./node_modules/.bin/prisma"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as React from "react";
import { useStore } from "../../models/root-store";
import { DateFilter } from "./date-filter";
import { ParticipantsFilter } from "./participants-filter";
import { RegionFilter } from "./region-filter";
import { RegionFilterSection } from "./region-filter";
import { SeverityFilter } from "./severity-filter";

const FilterSection = ({ filter }) => {
Expand All @@ -16,7 +16,7 @@ const FilterSection = ({ filter }) => {
case "severity":
return <SeverityFilter {...filter} />;
case "region":
return <RegionFilter {...filter} />;
return <RegionFilterSection {...filter} />;
default:
return null;
}
Expand Down