Skip to content

Commit

Permalink
fix(ceremony): rename and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Swepool committed Oct 30, 2024
1 parent 47c12e6 commit a1e76e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ceremony/src/lib/components/Terminal/Activity.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<script lang="ts">
import Print from "$lib/components/Terminal/Print.svelte"
import {Activity} from "$lib/state/live.svelte.ts";
import {onMount} from "svelte";
import {onDestroy, onMount} from "svelte";
import {Activity} from "$lib/state/activity.svelte.ts";
let activity: Activity | null = $state(null)
onMount(() => {
activity = new Activity()
})
onDestroy(() => {
if (activity) {
activity = null;
}
});
function formatTimestamp(timestamp: string): string {
const date = new Date(timestamp)
const time = date.toLocaleString("en-GB", {
Expand Down
File renamed without changes.

0 comments on commit a1e76e2

Please sign in to comment.