Skip to content

Commit

Permalink
cleanup: removed unused and old ui components
Browse files Browse the repository at this point in the history
  • Loading branch information
AbbasAliLokhandwala committed Dec 23, 2024
1 parent 880f15b commit 299d4f8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 310 deletions.

This file was deleted.

This file was deleted.

108 changes: 0 additions & 108 deletions packages/fetch-extension/src/components/proposal/proposal/index.tsx

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { FunctionComponent } from "react";
import { BackButton } from "../index";
import { FormattedMessage, useIntl } from "react-intl";
import { Input, TextArea } from "@components/form";
import style from "../style.module.scss";
Expand All @@ -10,6 +9,19 @@ import { parseEthPrivateKey } from "@fetchai/eth-migration";
import { RegisterConfig } from "@keplr-wallet/hooks";
import { useStore } from "../../../stores";

export const BackButton: FunctionComponent<{ onClick: () => void }> = ({
onClick,
}) => {
return (
<div className={style["backButton"]}>
<Button color="link" onClick={onClick}>
<i className="fas fa-angle-left" style={{ marginRight: "8px" }} />
<FormattedMessage id="register.button.back" />
</Button>
</div>
);
};

interface FormData {
name: string;
ethAddress: string;
Expand Down

0 comments on commit 299d4f8

Please sign in to comment.