diff --git a/app/javascript/src/utils/getCurrencyLogo.ts b/app/javascript/src/utils/getCurrencyLogo.ts
new file mode 100644
index 0000000..9d315b7
--- /dev/null
+++ b/app/javascript/src/utils/getCurrencyLogo.ts
@@ -0,0 +1,11 @@
+import { tokens } from "../constants/pancake/Tokens";
+
+const tokensList = Object.values(tokens);
+
+export const getCurrencyLogo = (symbol?: string) => {
+ const token = tokensList.find((item) => item.symbol === symbol);
+
+ if (token) {
+ return `https://pancakeswap.finance/images/tokens/${token.address["56"]}.svg`;
+ }
+};
diff --git a/package.json b/package.json
index 71f6577..6a22fd4 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
"dependencies": {
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
+ "@headlessui/react": "^1.4.0",
"@rails/actioncable": "^6.0.0",
"@rails/activestorage": "^6.0.0",
"@rails/ujs": "^6.0.0",
diff --git a/yarn.lock b/yarn.lock
index f088b5f..1c6891a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1128,6 +1128,11 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
+"@headlessui/react@^1.4.0":
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.4.0.tgz#c6d424d8ab10ac925e4423d7f3cbab02c30d736a"
+ integrity sha512-C+FmBVF6YGvqcEI5fa2dfVbEaXr2RGR6Kw1E5HXIISIZEfsrH/yuCgsjWw5nlRF9vbCxmQ/EKs64GAdKeb8gCw==
+
"@humanwhocodes/config-array@^0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"