fixed transaction check layout

This commit is contained in:
Fran Jurmanović
2021-12-12 19:19:25 +01:00
parent b199408137
commit 3970c01019
7 changed files with 107 additions and 85 deletions

View File

@@ -1,16 +1,12 @@
import { html, nothing, TemplateResult } from 'core/utils';
export default (props): TemplateResult => {
const { walletId } = props;
const renderWallet = () => {
if (walletId) {
return html`<span>${walletId}</span>`;
}
return nothing;
};
return html`<div>
${renderWallet()}
<div class="wallet-buttons">
<button class="btn btn-squared btn-primary" app-action="click:history-page#transactionCheck">
Check Transactions
</button>
</div>
<app-pagination data-target="history-page.pagination"></app-pagination>
</div>`;
};