You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: Mobile: Fix warning (#12786)
This commit is contained in:
@@ -66,7 +66,6 @@ const DialogManager: React.FC<Props> = props => {
|
||||
const dialogComponents: React.ReactNode[] = [];
|
||||
for (const dialog of dialogModels) {
|
||||
const dialogProps = {
|
||||
key: dialog.key,
|
||||
containerStyle: styles.dialogContainer,
|
||||
themeId: props.themeId,
|
||||
};
|
||||
@@ -75,6 +74,7 @@ const DialogManager: React.FC<Props> = props => {
|
||||
<PromptDialog
|
||||
dialog={dialog}
|
||||
{...dialogProps}
|
||||
key={dialog.key}
|
||||
/>,
|
||||
);
|
||||
} else if (dialog.type === DialogType.TextInput) {
|
||||
@@ -82,6 +82,7 @@ const DialogManager: React.FC<Props> = props => {
|
||||
<TextInputDialog
|
||||
dialog={dialog}
|
||||
{...dialogProps}
|
||||
key={dialog.key}
|
||||
/>,
|
||||
);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user