Skip to content

Commit

Permalink
rename Yield-bearing asset
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmagnus committed Feb 19, 2024
1 parent e0b5796 commit e31fb1d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/core/pages/contracts-create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const ContractsCreate: React.FC = () => {
if (!codContractId) throw new Error('Invalid Contract ID')

const contract = {
name: 'Yield-bearing asset',
name: 'Yield-bearing Asset',
asset_id: asset.id.toString(),
vault_id: vault.id.toString(),
address: codClient.getContractId() || '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const ContractsBreadcrumb: React.FC<IContractsBreadcrumb> = ({
fill="gray.650"
_dark={{ fill: 'white' }}
>
<ContractIcon /> Yield-bearing asset
<ContractIcon /> Yield-bearing Asset
</BreadcrumbLink>
</BreadcrumbItem>

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/organisms/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const linkItems: ILinkItemProps[] = [
path: PathRoute.TOKEN_MANAGEMENT,
},
{
name: 'Yield-bearing asset',
name: 'Yield-bearing Asset',
icon: <ContractIcon />,
path: PathRoute.SOROBAN_SMART_CONTRACTS,
},
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/templates/contracts-create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
justifyContent="center"
>
<Flex maxW={MAX_PAGE_WIDTH} alignSelf="center" flexDir="column" w="full">
<ContractsBreadcrumb title="New Yield-bearing asset" />
<ContractsBreadcrumb title="New Yield-bearing Asset" />
{errorSubmit && (
<Alert mb="0.75rem" status="error">
<AlertIcon />
Expand All @@ -148,7 +148,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
_dark={{ fill: 'white', stroke: 'white', borderColor: 'black.800' }}
>
<Text fontSize="sm" fontWeight="600">
New Yield-bearing asset
New Yield-bearing Asset
</Text>
</Flex>
{loading ? (
Expand Down Expand Up @@ -343,7 +343,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
mt="1.5rem"
isLoading={creatingContract}
>
Create Yield-bearing asset
Create Yield-bearing Asset
</Button>
</Flex>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ContractInfo: React.FC<IContractInfo> = ({ contract }) => {
boxShadow="lower"
_dark={{ bg: 'black.800' }}
>
<Text fontSize="xl">Yield-bearing asset</Text>
<Text fontSize="xl">Yield-bearing Asset</Text>
<Flex
display="flex"
bg="gray.200"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/templates/contracts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const ContractsTemplate: React.FC<IContractsTemplate> = ({
<Flex maxW={MAX_PAGE_WIDTH} alignSelf="center" flexDir="column" w="full">
<Flex mb="1.5rem" justifyContent="space-between">
<Text fontSize="2xl" fontWeight="400">
Yield-bearing asset
Yield-bearing Asset
</Text>
{havePermission(Permissions.CREATE_CERTIFICATES, userPermissions) && (
<Button
Expand All @@ -65,7 +65,7 @@ export const ContractsTemplate: React.FC<IContractsTemplate> = ({
navigate({ pathname: PathRoute.CONTRACT_CREATE })
}
>
{isLargerThanSm ? 'New Yield-bearing asset' : 'New'}
{isLargerThanSm ? 'New Yield-bearing Asset' : 'New'}
</Button>
)}
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const Overview: React.FC<IOverview> = ({
</Flex>
<Flex flexDir="column" ms="1rem">
<Text fontSize="xl" mb="0.75rem">
Create Yield-bearing asset
Create Yield-bearing Asset
</Text>
<Text>
In the Sandbox you can define permissions for each type of role
Expand Down

0 comments on commit e31fb1d

Please sign in to comment.