From 21a182985b7fa0c55691d5595b807dfcce2f4631 Mon Sep 17 00:00:00 2001
From: eug-vs <eugene@eug-vs.xyz>
Date: Sun, 23 Oct 2022 00:46:07 +0300
Subject: refactor: benzinConfig -> config

---
 src/Emoji.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/Emoji.tsx')

diff --git a/src/Emoji.tsx b/src/Emoji.tsx
index df5108d..275670e 100644
--- a/src/Emoji.tsx
+++ b/src/Emoji.tsx
@@ -1,6 +1,6 @@
 import { FC } from 'react';
 import Image from 'next/future/image';
-import benzinConfig from './benzinConfig';
+import config from './config';
 
 interface Props {
   children: string[];
@@ -10,7 +10,7 @@ const Emoji: FC<Props> = ({ children }) => {
   const src = children[0];
   return (
     <Image
-      src={`${benzinConfig.CDN}/public/emoji/${src}`}
+      src={`${config.CDN}${config.paths.emojiRoot}/${src}`}
       width={16}
       alt={`${src}-emoji`}
     />
-- 
cgit v1.2.3

