Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2eea606

Browse files
authored
Merge pull request #6815 from SimonBrandner/task/elements-ts
Convert `/src/components/views/elements` to TS
2 parents 7071092 + 24df63a commit 2eea606

23 files changed

+637
-602
lines changed

src/async-components/views/dialogs/eventindex/ManageEventIndexDialog.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ import { SettingLevel } from "../../../../settings/SettingLevel";
2626
import Field from '../../../../components/views/elements/Field';
2727
import BaseDialog from "../../../../components/views/dialogs/BaseDialog";
2828
import DialogButtons from "../../../../components/views/elements/DialogButtons";
29+
import { IDialogProps } from "../../../../components/views/dialogs/IDialogProps";
2930

30-
interface IProps {
31-
onFinished: (confirmed: boolean) => void;
32-
}
31+
interface IProps extends IDialogProps {}
3332

3433
interface IState {
3534
eventIndexSize: number;

src/components/structures/LeftPanelWidget.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const LeftPanelWidget: React.FC = () => {
7676
<AppTile
7777
app={app}
7878
fullWidth
79-
show
8079
showMenubar={false}
8180
userWidget
8281
userId={cli.getUserId()}

src/components/views/dialogs/CryptoStoreTooNewDialog.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ import Modal from '../../../Modal';
2323
import BaseDialog from "./BaseDialog";
2424
import DialogButtons from "../elements/DialogButtons";
2525
import QuestionDialog from "./QuestionDialog";
26+
import { IDialogProps } from "./IDialogProps";
2627

27-
interface IProps {
28-
onFinished: (success: boolean) => void;
29-
}
28+
interface IProps extends IDialogProps {}
3029

3130
const CryptoStoreTooNewDialog: React.FC<IProps> = (props: IProps) => {
3231
const brand = SdkConfig.get().brand;

0 commit comments

Comments
 (0)