Skip to content

Commit

Permalink
add emojis & remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
elihylui committed Sep 25, 2023
1 parent a4a5dfb commit 34df41a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Binary file added emoji1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added emoji2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 4 additions & 8 deletions src/renderer/components/Task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
FormPrevious,
InProgress,
Share,
UserFemale,
Document,
Money,
Clipboard,
Expand All @@ -45,7 +44,8 @@ import { useTaskData } from 'renderer/hooks/useTaskData';
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import { TaskType } from './types';
import { web3AuthInstance } from '../Web3AuthInstance';
import emoji1 from '../../../emoji1.png';
import emoji2 from '../../../emoji2.png';

interface TaskProps {
task: TaskType;
Expand Down Expand Up @@ -522,9 +522,7 @@ function Task({ task, goBack }: TaskProps) {
<Box direction="row" justify="between" gap="medium">
<Box direction="row" gap="small">
<Box>
<Avatar background="brand">
<UserFemale color="text-strong" />
</Avatar>
<Avatar src={emoji1} background="brand" size="medium"></Avatar>
</Box>
<Box gap="small">
<Box>
Expand Down Expand Up @@ -614,9 +612,7 @@ function Task({ task, goBack }: TaskProps) {
},
(_, i) => (
<Box key={i} direction="row">
<Avatar background="brand" size="small">
<UserFemale size="small" />
</Avatar>
<Avatar src={emoji2} background="brand" size="medium"></Avatar>
{Array.from(
{
length:
Expand Down

0 comments on commit 34df41a

Please sign in to comment.