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(components): remove relation badge from tx card in txs #644

Merged
merged 2 commits into from
Nov 30, 2023
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#644](https://github.com/alleslabs/celatone-frontend/pull/644) Remove relation badge from transaction card in mobile

## v1.3.0

### Features
Expand Down
2 changes: 2 additions & 0 deletions src/lib/components/table/transactions/TransactionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export const TransactionsTable = ({
<TransactionsTableMobileCard
key={transaction.hash}
transaction={transaction}
showRelations={showRelations}
showTimestamp={showTimestamp}
/>
))}
</MobileTableContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import { RelationChip } from "./RelationChip";

interface TransactionsTableMobileCardProps {
transaction: Transaction;
showRelations?: boolean;
showTimestamp?: boolean;
showRelations: boolean;
showTimestamp: boolean;
}
export const TransactionsTableMobileCard = ({
transaction,
showRelations = true,
showTimestamp = true,
showRelations,
showTimestamp,
}: TransactionsTableMobileCardProps) => {
const navigate = useInternalNavigate();
return (
Expand Down
Loading