Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(company wallet): update logo path #845

Merged
merged 3 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Unreleased

## Unreleased

### Bugfix

- Overlay
- Fix consistency issue in overlays where form input is used
- Company Wallet
- Use appropriate path to display logo on cards
evegufy marked this conversation as resolved.
Show resolved Hide resolved

### Feature

Expand Down
3 changes: 2 additions & 1 deletion src/components/pages/CompanyWallet/RuleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import dayjs from 'dayjs'
import { useTranslation } from 'react-i18next'
import { Box, Grid } from '@mui/material'
import SettingsBackupRestoreIcon from '@mui/icons-material/SettingsBackupRestore'
import { getAssetBase } from 'services/EnvironmentService'

type Hash<T> = Record<string, T>

Expand Down Expand Up @@ -130,7 +131,7 @@ export default function RuleCard({
{getStatus(item?.status)}
</Typography>
<img
src="/logo_tractus-x.svg"
src={`${getAssetBase()}/images/logos/logo_tractus-x.svg`}
alt="tractus x logo"
style={{
width: 40,
Expand Down
Loading