diff --git a/app/components/simple-voting/OrderingFilter.js b/app/components/simple-voting/OrderingFilter.js
index f375783..8d30b8d 100644
--- a/app/components/simple-voting/OrderingFilter.js
+++ b/app/components/simple-voting/OrderingFilter.js
@@ -30,9 +30,12 @@ function Transition(props) {
return ;
}
-const ListButton = ({ name, setPollOrder, selected }) => (
+const ListButton = ({ name, setPollOrder, selected, handleClose }) => (
- setPollOrder(name)}>
+ {
+ setPollOrder(name);
+ handleClose();
+ }}>
{({ setPollOrder, pollOrder }) =>
@@ -78,13 +82,10 @@ class OrderingDialog extends PureComponent {
close
-
- {Object.keys(constants).map((name, i) => )}
+ {Object.keys(constants).map((name, i) => )}