diff --git a/client/src/components/SideNavChannel.tsx b/client/src/components/SideNavChannel.tsx index 16b7e27..8922c5e 100644 --- a/client/src/components/SideNavChannel.tsx +++ b/client/src/components/SideNavChannel.tsx @@ -1,6 +1,6 @@ import { FC } from 'react'; -import { numFormatter } from '../lib/format'; +import { numFormatter } from '../utils/format'; import { Stream } from '../types'; interface SideNavChannelProps { diff --git a/client/src/pages/ChannelPage.tsx b/client/src/pages/ChannelPage.tsx index 66e965e..7d01202 100644 --- a/client/src/pages/ChannelPage.tsx +++ b/client/src/pages/ChannelPage.tsx @@ -3,7 +3,7 @@ import { ArrowRightIcon, HeartIcon, UserIcon } from '@heroicons/react/24/outline import Button from '../components/Button'; import ChatMessage from '../components/ChatMessage'; import Input from '../components/Input'; -import { numFormatter } from '../lib/format'; +import { numFormatter } from '../utils/format'; import streams from '../placeholder/GetStreams'; function ChannelPage() { diff --git a/client/src/lib/format.ts b/client/src/utils/format.ts similarity index 100% rename from client/src/lib/format.ts rename to client/src/utils/format.ts