From 10e146ef0215d41527f0466b0e139a6805b96540 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 8 Aug 2020 09:33:45 +0300
Subject: refactor: remove urls file

---
 src/components/UserStrip/UserStrip.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/components/UserStrip/UserStrip.tsx')

diff --git a/src/components/UserStrip/UserStrip.tsx b/src/components/UserStrip/UserStrip.tsx
index a2d2700..73d9363 100644
--- a/src/components/UserStrip/UserStrip.tsx
+++ b/src/components/UserStrip/UserStrip.tsx
@@ -5,7 +5,6 @@ import VerifiedIcon from '@material-ui/icons/CheckCircleOutline';
 import { Avatar, CardHeader } from '@material-ui/core/';
 import { User } from 'which-types';
 
-import urls from '../../pages/urls';
 
 interface PropTypes {
   user: User;
@@ -35,7 +34,7 @@ const UserStrip: React.FC<PropTypes> = ({ user, info }) => {
   const { username, avatarUrl, verified } = user;
 
   const handleNavigate = () => {
-    history.push(urls.profile(user.username));
+    history.push(`/profile/${username}`);
   };
 
   const avatar = (
-- 
cgit v1.2.3

