Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Design fixes and minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh391 committed Sep 11, 2020
1 parent b2feb5d commit c1b39b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/KeyValueLi/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const KeyValueLi: React.FunctionComponent<KeyValueLiProps> = (
>
{I18n.t('components.keyValueLi.copied')}
</div>
<EllipsisText text={props.value} length={50} />
<EllipsisText text={props.value} length={'50'} />
{props.popsQR && (
<QrCode value={props.value} uid={props.uid} qrClass={styles.qr} />
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ const TokenInfo: React.FunctionComponent<TokenInfoProps> = (
</Button>
<h1>{tokenInfo.name}</h1>
<UncontrolledDropdown>
<DropdownToggle color='link' size='sm'>
<DropdownToggle color='link' size='md'>
<MdMoreHoriz />
</DropdownToggle>
<DropdownMenu>
<DropdownMenu right>
{tokenInfoMenu.map((data) => {
return (
<DropdownItem
className='d-flex justify-content-between'
className='justify-content-between'
key={data.value}
name='collateralAddress'
value={data.value}
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/containers/TokensPage/service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const handleCreateTokens = async (tokenData) => {
export const handleUpdateTokens = async (tokenData) => {
const data = {
name: tokenData.name,
symbol: tokenData.symbol,
token: tokenData.symbol,
isDAT: tokenData.isDAT,
decimal: Number(tokenData.decimal),
limit: Number(tokenData.limit),
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/utils/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface ITokenCreatorInfo {
}

export interface ITokenUpdatorInfo {
symbol: string;
token: string;
name?: string;
isDAT?: boolean;
decimal?: number;
Expand Down

0 comments on commit c1b39b3

Please sign in to comment.