MM-51676 - korean chars create duplicate categories (#23839)
* MM-51676 - korean chars create duplicate categories * use isProcessing as a property instead of state; move validation of isComposing to generic modal
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8fe4c5376f
Коммит
af3b70b606
@@ -5,8 +5,8 @@ import React from 'react';
|
||||
|
||||
type Modal = {
|
||||
open: boolean;
|
||||
dialogProps: Record<string, any>;
|
||||
dialogType: React.ComponentType;
|
||||
dialogProps?: Record<string, any>;
|
||||
}
|
||||
|
||||
type Props = {
|
||||
@@ -64,7 +64,7 @@ export default class ModalController extends React.PureComponent<Props> {
|
||||
}
|
||||
|
||||
return (
|
||||
<>{modalOutput}</>
|
||||
modalOutput
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user