Skip to content

Commit

Permalink
remove: leftovers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed Jan 24, 2025
1 parent 884c454 commit cc6ae2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
</p>
<svelte:fragment slot="aside">
<!-- types need to be added to console sdk -->
{#if data.organizationUsage.databasesReadsTotal || data.organizationUsage.databasesWritesTotal}
{#if data.organizationUsage.databasesReads || data.organizationUsage.databasesWrites}
<div style:margin-top="-1.5em">
<BarChart
options={{
Expand All @@ -215,7 +215,7 @@
{
name: 'Reads',
data: [
...data.organizationUsage.databasesReads.map((e) => [
...(data.organizationUsage.databasesReads ?? []).map((e) => [
e.date,
e.value
])
Expand All @@ -224,7 +224,7 @@
{
name: 'Writes',
data: [
...data.organizationUsage.databasesWrites.map((e) => [
...(data.organizationUsage.databasesWrites ?? []).map((e) => [
e.date,
e.value
])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { page } from '$app/stores';
import { Usage } from '$lib/layout';
import type { PageData } from './$types';
import { onMount } from 'svelte';
export let data: PageData;
Expand All @@ -16,10 +15,6 @@
$: writes = data.databaseWrites;
$: writesTotal = data.databaseWritesTotal;
onMount(() => {
console.log([readsTotal, writesTotal]);
});
</script>

<Usage
Expand Down

0 comments on commit cc6ae2c

Please sign in to comment.