From 5900068144073f6fbbdab8df8d936b91dd7e5ed0 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 8 Jun 2022 12:06:05 -0400 Subject: [PATCH] Use new Datepicker on AgeVerification step --- app/soapbox/components/ui/select/select.tsx | 8 ++++-- .../verification/steps/age-verification.js | 26 +++---------------- app/styles/forms.scss | 2 ++ 3 files changed, 11 insertions(+), 25 deletions(-) diff --git a/app/soapbox/components/ui/select/select.tsx b/app/soapbox/components/ui/select/select.tsx index 485b3238c..f79d71ddd 100644 --- a/app/soapbox/components/ui/select/select.tsx +++ b/app/soapbox/components/ui/select/select.tsx @@ -1,13 +1,17 @@ import * as React from 'react'; +interface ISelect extends React.SelectHTMLAttributes { + children: Iterable, +} + /** Multiple-select dropdown. */ -const Select = React.forwardRef((props, ref) => { +const Select = React.forwardRef((props, ref) => { const { children, ...filteredProps } = props; return (