aboutsummaryrefslogtreecommitdiff
path: root/maps-frontend/src/components/TimeSelector.js
diff options
context:
space:
mode:
authorMichael Foiani <sotech117@michaels-mbp-3.lan>2021-04-16 17:36:25 -0400
committerMichael Foiani <sotech117@michaels-mbp-3.lan>2021-04-16 17:36:25 -0400
commit5f1c8ad8dd2944d6791971ba7fc5a4da97a9e9ac (patch)
tree707e3e477104c246cf75110cbc7dc63f18c3fce7 /maps-frontend/src/components/TimeSelector.js
parenta2dc033f7d80ec4599e6c0f7bb1ef5753d8799fa (diff)
Got the canvas to show. Looking pretty good
Diffstat (limited to 'maps-frontend/src/components/TimeSelector.js')
-rw-r--r--maps-frontend/src/components/TimeSelector.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/maps-frontend/src/components/TimeSelector.js b/maps-frontend/src/components/TimeSelector.js
index b396d81..6960807 100644
--- a/maps-frontend/src/components/TimeSelector.js
+++ b/maps-frontend/src/components/TimeSelector.js
@@ -20,8 +20,8 @@ function TimeSelector(props) {
const changeTimeframe = () => {
props.setDates({
- start: Date.parse(startDate),
- end: Date.parse(endDate)
+ start: startDate,
+ end: endDate
});
}