Skip to content

Commit c3f7889

Browse files
authored
Merge pull request #21731 from wireapp/master
chore: merge master into dev after pull request #21730
2 parents 6342c01 + f7bdad7 commit c3f7889

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/webapp/src/script/components/HistoryExport/HistoryExport.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ const HistoryExport = ({switchContent, user, clientState = container.resolve(Cli
232232

233233
useEffect(() => {
234234
showBackupModal();
235-
}, [showBackupModal]);
235+
// eslint-disable-next-line react-hooks/exhaustive-deps
236+
}, []);
236237

237238
return (
238239
<div id="history-export">

apps/webapp/src/script/components/HistoryImport/HistoryImport.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ const HistoryImport = ({user, backupRepository, file, switchContent}: HistoryImp
219219

220220
useEffect(() => {
221221
void importHistory(file);
222-
}, [file, importHistory]);
222+
// eslint-disable-next-line react-hooks/exhaustive-deps
223+
}, [file]);
223224

224225
const handleFileChange = async (event: React.ChangeEvent<HTMLInputElement>) => {
225226
const file = event.target.files?.[0];

0 commit comments

Comments
 (0)