From 02613f197be620a2504d7bd4a4ec4766a900dca3 Mon Sep 17 00:00:00 2001 From: mayuran-deriv-dev96 Date: Tue, 16 Jan 2024 15:52:25 +0400 Subject: [PATCH] fix: code revert --- crowdin/messages.json | 1 + .../navigation/main-nav/nav.buttons.tsx | 29 ++++++++++++++----- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/crowdin/messages.json b/crowdin/messages.json index b0006623a22..319227c61cb 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -3139,6 +3139,7 @@ "-1120049888": "Leading company stocks and top global indices.", "-1960027144": "Diverse exchange-traded funds for broad market exposure.", "-1939560439": "Traders' tools", + "-1124845179": "Open demo account", "-1154249172": "Deriv API", "-373212993": "Deriv website", "-1151648694": "Google account sign in page", diff --git a/src/features/components/templates/navigation/main-nav/nav.buttons.tsx b/src/features/components/templates/navigation/main-nav/nav.buttons.tsx index 421801a8c9b..989d7d9a83c 100644 --- a/src/features/components/templates/navigation/main-nav/nav.buttons.tsx +++ b/src/features/components/templates/navigation/main-nav/nav.buttons.tsx @@ -19,14 +19,27 @@ export const MainNavigationButtons = () => { return (
- + {is_logged_in ? ( + + ) : ( + <> + + + + )}