From 0c35fe79bbf71d15a05a4dc56befd1afd3de4ec9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 11 Nov 2024 09:39:44 +0000
Subject: [PATCH] Update dependency typescript to v5.6.3

---
 .changelog/1563.internal.md             | 1 +
 package.json                            | 2 +-
 src/app/components/Tokens/TokenLink.tsx | 2 +-
 yarn.lock                               | 8 ++++----
 4 files changed, 7 insertions(+), 6 deletions(-)
 create mode 100644 .changelog/1563.internal.md

diff --git a/.changelog/1563.internal.md b/.changelog/1563.internal.md
new file mode 100644
index 000000000..787f5708c
--- /dev/null
+++ b/.changelog/1563.internal.md
@@ -0,0 +1 @@
+Update dependencies
diff --git a/package.json b/package.json
index e9fe76ce0..1d56e8d59 100644
--- a/package.json
+++ b/package.json
@@ -129,7 +129,7 @@
     "storybook-addon-react-router-v6": "2.0.15",
     "stream-browserify": "3.0.0",
     "ts-jest": "29.2.4",
-    "typescript": "5.5.4"
+    "typescript": "5.6.3"
   },
   "msw": {
     "workerDirectory": ".storybook/public"
diff --git a/src/app/components/Tokens/TokenLink.tsx b/src/app/components/Tokens/TokenLink.tsx
index e78260b10..785682e87 100644
--- a/src/app/components/Tokens/TokenLink.tsx
+++ b/src/app/components/Tokens/TokenLink.tsx
@@ -14,7 +14,7 @@ export const TokenLink: FC<{
 }> = ({ scope, address, name, highlightedPart }) => {
   return (
     <Link component={RouterLink} to={RouteUtils.getTokenRoute(scope, address)}>
-      {<HighlightedText text={name} pattern={highlightedPart} /> ?? address}
+      {name ? <HighlightedText text={name} pattern={highlightedPart} /> : address}
     </Link>
   )
 }
diff --git a/yarn.lock b/yarn.lock
index c906abdde..e3012b386 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -10961,10 +10961,10 @@ typed-array-length@^1.0.6:
     is-typed-array "^1.1.13"
     possible-typed-array-names "^1.0.0"
 
-typescript@5.5.4:
-  version "5.5.4"
-  resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
-  integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
+typescript@5.6.3:
+  version "5.6.3"
+  resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b"
+  integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==
 
 uc.micro@^2.0.0:
   version "2.0.0"