Skip to content

Commit

Permalink
fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Mar 25, 2024
1 parent 5eb98a8 commit a87c2cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/(sidebar)/account/muxed-parse/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function ParseMuxedAccount() {
id="muxed-public-key-result"
label="Base Account G Address"
value={account.parsedMuxedAccount.baseAddress}
error={undefined}
error={false}
readOnly={true}
copyButton={{
position: "right",
Expand Down
2 changes: 2 additions & 0 deletions src/store/createStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export interface Store {
parsedMuxedAccount: MuxedAccount;
// eslint-disable-next-line no-unused-vars
updatePublicKey: (value: string) => void;
// eslint-disable-next-line no-unused-vars
updateGeneratedMuxedAccount: (value: MuxedAccount) => void;
// eslint-disable-next-line no-unused-vars
updateParsedMuxedAccount: (value: MuxedAccount) => void;
reset: () => void;
};
Expand Down
5 changes: 4 additions & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ export type StatusPageScheduled = {
// =============================================================================
// Account
// =============================================================================
export type MuxedAccountFieldType = {
export type MuxedAccount = {
id: string;
baseAddress: string;
muxedAddress: string;
};

export type MuxedAccountFieldType = MuxedAccount & {
error: string | boolean;
};

Expand Down

0 comments on commit a87c2cf

Please sign in to comment.