fix: fix mui select throw wraning when pendant select change

This commit is contained in:
QiShaoXuan 2022-08-03 11:18:00 +08:00
parent 727c742889
commit fe9a4470fc

View File

@ -44,7 +44,7 @@ export const CreatePendantPanel = ({
<Select
width={284}
placeholder="Search for a field type"
value={selectedOption}
value={selectedOption ?? null}
onChange={(selectedValue: PendantOptions) => {
setSelectedOption(selectedValue);
}}