Commit 9d337970 authored by chechunchi's avatar chechunchi

fix small

parent 5e5c59d2
......@@ -31,7 +31,7 @@ const PositionModal = () => {
<Button
disabled={selected === undefined}
onClick={() => {
if (selected) {
if (selected !== undefined) {
sendSelectPositionResponse(selected);
dispatch(setPositionModalIsOpen(false));
dispatch(resetPositionModal);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment