Skip to content

Commit

Permalink
feat: add route for PaymentGood page
Browse files Browse the repository at this point in the history
  • Loading branch information
jsapro committed Jan 10, 2024
1 parent 4c027be commit cec25b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import Agreement from '@pages/agreement/index.tsx';
import DeliveryConditions from '@pages/delivery-conditions/index.tsx';
import CheckoutSuccess from '@pages/checkout/checkout-success/index.tsx';
import PaymentBad from '@pages/payment/payment-bad/index.tsx';
import PaymentGood from '@pages/payment/payment-good/index.tsx';

// импорт временных массивов для отображения каталогов и продуктов
// временное решение для верстки, потом удалить
Expand Down Expand Up @@ -65,6 +66,7 @@ function App() {
<Route path={URLS.AGREEMENT} element={<Agreement />} />
<Route path={URLS.DELIVERY_COND} element={<DeliveryConditions />} />
<Route path={'payment-bad'} element={<PaymentBad />} />
<Route path={'payment-good'} element={<PaymentGood />} />
<Route path="*" element={<NotFound />} />
</Routes>
</Layout>
Expand Down

0 comments on commit cec25b3

Please sign in to comment.