File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ const InternalMentions = forwardRef<MentionsRef, MentionsProps>(
142142 onPopupScroll,
143143
144144 // Rest
145- id,
146145 ...restProps
147146 } = props ;
148147
@@ -174,7 +173,7 @@ const InternalMentions = forwardRef<MentionsRef, MentionsProps>(
174173 const [ isFocus , setIsFocus ] = useState ( false ) ;
175174
176175 // ================================ Id ================================
177- const uniqueKey = useId ( id ) ;
176+ const uniqueKey = useId ( props . id ) ;
178177
179178 // ============================== Value ===============================
180179 const [ mergedValue , setMergedValue ] = useControlledState (
@@ -479,7 +478,6 @@ const InternalMentions = forwardRef<MentionsRef, MentionsProps>(
479478 className = { clsx ( prefixCls , className ) }
480479 style = { style }
481480 ref = { containerRef }
482- id = { id }
483481 >
484482 < TextArea
485483 classNames = { { textarea : mentionClassNames ?. textarea } }
You can’t perform that action at this time.
0 commit comments