Skip to content

Commit

Permalink
Merge pull request #6815 from SimonBrandner/task/elements-ts
Browse files Browse the repository at this point in the history
Convert `/src/components/views/elements` to TS
  • Loading branch information
turt2live committed Sep 21, 2021
2 parents 7071092 + 24df63a commit 2eea606
Show file tree
Hide file tree
Showing 23 changed files with 637 additions and 602 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ import { SettingLevel } from "../../../../settings/SettingLevel";
import Field from '../../../../components/views/elements/Field';
import BaseDialog from "../../../../components/views/dialogs/BaseDialog";
import DialogButtons from "../../../../components/views/elements/DialogButtons";
import { IDialogProps } from "../../../../components/views/dialogs/IDialogProps";

interface IProps {
onFinished: (confirmed: boolean) => void;
}
interface IProps extends IDialogProps {}

interface IState {
eventIndexSize: number;
Expand Down
1 change: 0 additions & 1 deletion src/components/structures/LeftPanelWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const LeftPanelWidget: React.FC = () => {
<AppTile
app={app}
fullWidth
show
showMenubar={false}
userWidget
userId={cli.getUserId()}
Expand Down
5 changes: 2 additions & 3 deletions src/components/views/dialogs/CryptoStoreTooNewDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ import Modal from '../../../Modal';
import BaseDialog from "./BaseDialog";
import DialogButtons from "../elements/DialogButtons";
import QuestionDialog from "./QuestionDialog";
import { IDialogProps } from "./IDialogProps";

interface IProps {
onFinished: (success: boolean) => void;
}
interface IProps extends IDialogProps {}

const CryptoStoreTooNewDialog: React.FC<IProps> = (props: IProps) => {
const brand = SdkConfig.get().brand;
Expand Down
Loading

0 comments on commit 2eea606

Please sign in to comment.