feat: add translations to landing (#18)
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
This commit is contained in:
@@ -2,13 +2,13 @@ import React from 'react';
|
||||
import { Link as RouterLink } from 'react-router-dom';
|
||||
import { Button } from '@chakra-ui/react';
|
||||
import { URLs } from '../../__data__/urls';
|
||||
import { mockOrders } from '../../mocks/landing';
|
||||
import { mockOrder } from '../../mocks/landing';
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
<>
|
||||
<h1>Order form</h1>
|
||||
{mockOrders.map(({ id }) => (
|
||||
{mockOrder.orders.map(({ id }) => (
|
||||
<Button key={id} as={RouterLink} to={URLs.orderView.getUrl(id)}>
|
||||
Посмотреть заказ {id}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user