From 2114a2b935444a86b7c6007b5c8c590c3ae46f3b Mon Sep 17 00:00:00 2001 From: Sorin Chis Date: Tue, 9 Jul 2024 15:43:10 +0300 Subject: [PATCH] add annotation --- .../app/containers/swap/orders/NoCompleteOrders.js | 5 ++++- .../app/containers/swap/orders/NoOpenOrders.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/yoroi-extension/app/containers/swap/orders/NoCompleteOrders.js b/packages/yoroi-extension/app/containers/swap/orders/NoCompleteOrders.js index a578ffccc7..dd87e5d358 100644 --- a/packages/yoroi-extension/app/containers/swap/orders/NoCompleteOrders.js +++ b/packages/yoroi-extension/app/containers/swap/orders/NoCompleteOrders.js @@ -1,7 +1,10 @@ +// @flow + import { Stack, Typography } from '@mui/material'; import { ReactComponent as NoCompleteOders } from '../../../assets/images/revamp/no-complete-orders.inline.svg'; +import type { Node } from 'react'; -const NoCompleteOrders = () => { +const NoCompleteOrders = (): Node => { return ( diff --git a/packages/yoroi-extension/app/containers/swap/orders/NoOpenOrders.js b/packages/yoroi-extension/app/containers/swap/orders/NoOpenOrders.js index 56dc058b59..6527f20e97 100644 --- a/packages/yoroi-extension/app/containers/swap/orders/NoOpenOrders.js +++ b/packages/yoroi-extension/app/containers/swap/orders/NoOpenOrders.js @@ -1,7 +1,10 @@ +// @flow + import { Stack, Typography } from '@mui/material'; +import type { Node } from 'react'; import { ReactComponent as NoOpenOders } from '../../../assets/images/revamp/no-open-orders.inline.svg'; -const NoOpenOrders = () => { +const NoOpenOrders = (): Node => { return (