mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 05:42:12 +03:00
fix: fix mui select throw wraning when pendant select change
This commit is contained in:
parent
727c742889
commit
fe9a4470fc
@ -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);
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user