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

chore: fix typos #2097

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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 @@ -3,7 +3,7 @@ import { getEntityWithName } from "../getEntityWithName"
import { getParameter } from "../getParameter"
import { IExplorerTransactionTransformer } from "./type"

/** adds Influence NFT purcahse */
/** adds Influence NFT purchase */

export default function ({
explorerTransaction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const NFTImage: FC<NFTImageProps> = ({
}) => {
const nft = useNft(addressSchema.parse(contractAddress ?? ""), tokenId)

// if nft is not in the storage anymore, need to fetch it because it was transfered
// if nft is not in the storage anymore, need to fetch it because it was transferred
const { data } = useRemoteNft(contractAddress, tokenId, networkId)
const displayNft = nft ?? data

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NftFallback } from "./NftFallback"

type NftThumbnailImage = ImgHTMLAttributes<HTMLImageElement>

/** Transparently displays an image or palceholder fallback set to square aspect ratio */
/** Transparently displays an image or placeholder fallback set to square aspect ratio */

export const NftThumbnailImage: FC<NftThumbnailImage> = ({ src, ...rest }) => {
if (!src) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
import { usePartitionDeprecatedAccounts } from "./accountUpgradeCheck"
import { tokenBalancesView } from "../../views/tokenBalances"

/** TODO: we should be able to retreive all these account collections using queries from storage */
/** TODO: we should be able to retrieve all these account collections using queries from storage */
export const AccountListScreenContainer: FC = () => {
const navigate = useNavigate()
const returnTo = useReturnTo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const OnboardingPasswordScreenContainer: FC = () => {
status: "success",
networkId: newAccount.networkId,
})
// NOTE: this tracking call is legit, as it relies on information that's only accessable to the UI
// NOTE: this tracking call is legit, as it relies on information that's only accessible to the UI
// NOTE: we're not interested in the return of this promise, we should indicate that with void
void trackSuccess()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const AddressBookAddOrEditScreenContainer: FC<
const currentNetwork = useCurrentNetwork()
const currentNetworkId = currentNetwork?.id

/** retreive an existing contact from id provided in contact prop or via url */
/** retrieve an existing contact from id provided in contact prop or via url */
const existingContact = useView(
addressBookContactIdView(id || contactProp?.id),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useRestorationState } from "./restoration.state"
*/

const restorationStatePathnames: Array<string | PathPattern> = [
/** Some users will close the extension when navigating to webmail to retreive the OTP */
/** Some users will close the extension when navigating to webmail to retrieve the OTP */
routes.shieldAccountOTP.path,
routes.sendAmountAndAssetScreen.path,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("atomWithSubscription", () => {
defaults: [],
})

it("should show inital value", async () => {
it("should show initial value", async () => {
const atom = atomFromRepo(testRepo)

const screen = render(<RenderAtom atom={atom} />)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("atomWithSubscription", () => {
defaults: { value: "test" },
})

it("should show inital value", async () => {
it("should show initial value", async () => {
const atom = atomFromStore(testStore)

const screen = render(<RenderAtom atom={atom} />)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe("atomWithSubscription", () => {
testStore = createStore("test")
})

it("should show inital value", async () => {
it("should show initial value", async () => {
const atom = atomWithSubscription(
() => testStore.get(),
(next) => testStore.subscribe(next),
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const App: FC = () => {

### Theme and utilities

The theme contains standard set of attributes which are accessed using a name or key as decribed by chakra-ui. This allows the system to change the underlying values and units without changing the component markup.
The theme contains standard set of attributes which are accessed using a name or key as described by chakra-ui. This allows the system to change the underlying values and units without changing the component markup.

See [chakra style props](https://chakra-ui.com/docs/styled-system/style-props) for examples

Expand Down