From 9a82a47de06461dfa774b0bb5faaf8da664642c4 Mon Sep 17 00:00:00 2001 From: finaltrip Date: Mon, 3 Jun 2024 23:20:26 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: finaltrip --- actions/executeTransaction.ts | 2 +- hub/types/Result.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/actions/executeTransaction.ts b/actions/executeTransaction.ts index 8cf2f3f7a2..698fe01bf1 100644 --- a/actions/executeTransaction.ts +++ b/actions/executeTransaction.ts @@ -26,7 +26,7 @@ import { fetchProgramVersion } from '@hooks/queries/useProgramVersionQuery' * @param proposal Metadata about the proposal * @param instruction Instruction that will be executed by the proposal * @param adjacentTransaction Optional transaction that is sent in the same slot as the proposal instruction. - * @param preExecutionTransactions Optional tansactions that are executed before the proposal instruction + * @param preExecutionTransactions Optional transactions that are executed before the proposal instruction */ export const executeTransaction = async ( { connection, wallet, programId }: RpcContext, diff --git a/hub/types/Result.ts b/hub/types/Result.ts index d4bde0c9b1..38636e1985 100644 --- a/hub/types/Result.ts +++ b/hub/types/Result.ts @@ -1,6 +1,6 @@ export enum Status { /** - * The Result has completed, but an error has occured + * The Result has completed, but an error has occurred */ Failed, /** @@ -18,12 +18,12 @@ export enum Status { } /** - * The Result has completed, but an error has occured + * The Result has completed, but an error has occurred */ export interface Failed { _tag: Status.Failed; /** - * The error that has occured + * The error that has occurred */ error: E; }