Skip to content

Commit f72e3e6

Browse files
committed
Address review comments
1 parent 2db2a77 commit f72e3e6

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

src/components/views/dialogs/InviteProgressDialog.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ import React from "react";
1010
import Modal from "../../../Modal.tsx";
1111
import InviteProgressBody from "./InviteProgressBody.tsx";
1212

13-
interface Props {
14-
onFinished: () => void;
15-
}
13+
interface Props {}
1614

1715
/** A Modal dialog that pops up while room invites are being sent. */
18-
const InviteProgressDialog: React.FC<Props> = (props) => {
16+
const InviteProgressDialog: React.FC<Props> = (_) => {
1917
return <InviteProgressBody />;
2018
};
2119

test/unit-tests/components/views/dialogs/InviteProgressBody-test.tsx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
/*
2-
Copyright 2025 The Matrix.org Foundation C.I.C.
2+
Copyright 2025 New Vector Ltd.
33
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
4+
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
5+
Please see LICENSE files in the repository root for full details.
156
*/
167

178
import React from "react";

0 commit comments

Comments
 (0)