Skip to content

Commit

Permalink
[Issue-125] Fix some minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lw-cdm committed Nov 7, 2024
1 parent 9573d58 commit ad33709
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Props = ThemeProps & {
reloadTask: number;
};

const Component = ({ actionReloadPoint, className, taskCategoryInfoMap, taskCategoryMap, openWidget, reloadTask }: Props): React.ReactElement => {
const Component = ({ actionReloadPoint, className, openWidget, reloadTask, taskCategoryInfoMap, taskCategoryMap }: Props): React.ReactElement => {
const { t } = useTranslation();

const taskCategoryInfoList = useMemo(() => {
Expand Down Expand Up @@ -54,7 +54,7 @@ const Component = ({ actionReloadPoint, className, taskCategoryInfoMap, taskCate
</div>

<div className='__complete-missions'>
{`${tci.completeCount}/${tci.tasks.length}`} {t('missions')}
{`${tci.completeCount}/${tci.tasks.length}`} {t(tci.tasks.length > 1 ? 'missions' : 'mission')}
</div>
</div>
<div className='__tasks-container'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ const Base = styled(Component)<LayoutBaseProps>(({ theme: { extendToken, token }
zIndex: 5
},

'.layout-background-image': {
opacity: 0
},

'&.-primary-style': {
background: extendToken.colorBgGradient || token.colorPrimary
},
Expand Down
Binary file modified packages/webapp/public/images/point-icons/nps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ad33709

Please sign in to comment.