Skip to content

Commit 1e21449

Browse files
author
Nicolas Vergez - PhyloFane
committed
Update token identifier in OperationsTokenIdInput
1 parent db2fcb7 commit 1e21449

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

components/operations/operations-tokenid-input.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export const OperationsTokenIdInput = ({
1313
tokenType: CommonOpertationContentProps['tokenType'];
1414
description?: string;
1515
}) => {
16-
const { tokens } = useCreatorTokens<{ ticker: string; isPaused: boolean }>({
16+
const { tokens } = useCreatorTokens<{
17+
ticker: string;
18+
identifier: string;
19+
isPaused: boolean;
20+
}>({
1721
tokenType,
1822
});
1923

@@ -25,7 +29,7 @@ export const OperationsTokenIdInput = ({
2529
options={
2630
tokens
2731
? tokens?.map((token) => ({
28-
value: token.ticker,
32+
value: token.identifier,
2933
label: token.ticker,
3034
}))
3135
: []

0 commit comments

Comments
 (0)