Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert /src/components/views/elements to TS #6815

Merged
merged 20 commits into from
Sep 21, 2021
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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