fix: fix mui select throw wraning when pendant select change
This commit is contained in:
@@ -44,7 +44,7 @@ export const CreatePendantPanel = ({
|
|||||||
<Select
|
<Select
|
||||||
width={284}
|
width={284}
|
||||||
placeholder="Search for a field type"
|
placeholder="Search for a field type"
|
||||||
value={selectedOption}
|
value={selectedOption ?? null}
|
||||||
onChange={(selectedValue: PendantOptions) => {
|
onChange={(selectedValue: PendantOptions) => {
|
||||||
setSelectedOption(selectedValue);
|
setSelectedOption(selectedValue);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user