Skip to content

Commit

Permalink
🎨 chore: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Nov 22, 2023
1 parent f742db3 commit 8102ebe
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# dependencies
**/node_modules
# roadhog-api-doc ignore
/src/utils/request-temp.js
_roadhog-api-doc

# production
**/dist
Expand Down Expand Up @@ -41,3 +38,4 @@ example/.temp/*
.eslintcache
techUI*
.vercel
bun.lockb
Binary file removed bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ChatItem/components/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { memo } from 'react';
import { Flexbox } from 'react-layout-kit';

import { ChatItemProps } from '@/ChatItem';
import { formatTime } from '@/utils/formatTime';
import { formatTime } from '@/ChatItem/utils/formatTime';

import { useStyles } from '../style';

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Avatar as AntAvatar, type AvatarProps as AntAvatarProps } from 'antd';
import { memo, useMemo } from 'react';

import Emoji from '@/Emoji';
import { getEmoji } from '@/utils/getEmojiByCharacter';
import { getEmoji } from '@/components/Avatar/getEmojiByCharacter';

import { useStyles } from './style';

Expand Down

0 comments on commit 8102ebe

Please sign in to comment.