Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds new component
Browse files Browse the repository at this point in the history
yhabib committed Dec 17, 2024
1 parent d4079bc commit 5cfbab5
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions frontend/src/lib/components/reporting/ReportingTransactions.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script lang="ts">
import type { ReportingDateRange } from "$lib/types/reporting";
import ReportingTransactionsButton from "./ReportingTransactionsButton.svelte";
// TODO: This will be hooked up in a follow up
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let selectedRange: ReportingDateRange = "all";
</script>

<div class="wrapper">
<ReportingTransactionsButton />
</div>

<style lang="scss">
.wrapper {
display: flex;
flex-direction: column;
gap: var(--padding-3x);
}
</style>
4 changes: 2 additions & 2 deletions frontend/src/lib/routes/Reporting.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import ReportingNeuronsButton from "$lib/components/reporting/ReportingNeuronsButton.svelte";
import ReportingTransactionsButton from "$lib/components/reporting/ReportingTransactionsButton.svelte";
import ReportingTransactions from "$lib/components/reporting/ReportingTransactions.svelte";
import Separator from "$lib/components/ui/Separator.svelte";
import { i18n } from "$lib/stores/i18n";
import { layoutTitleStore } from "$lib/stores/layout.store";
@@ -37,7 +37,7 @@
<h3>{$i18n.reporting.transactions_title}</h3>
<p class="description">{$i18n.reporting.transactions_description}</p>
</div>
<ReportingTransactionsButton />
<ReportingTransactions />
</div>
</main>
</Island>

0 comments on commit 5cfbab5

Please sign in to comment.