Work on add space modal

This commit is contained in:
Jon Staab
2024-08-08 14:02:46 -07:00
parent fb04a68168
commit 6c2e5d6e07
17 changed files with 232 additions and 107 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import {pushState} from "$app/navigation"
export const modals = new Map()
export const pushModal = (component: ComponentType, props: Record<string, any>) => {
export const pushModal = (component: ComponentType, props: Record<string, any> = {}) => {
const id = randomId()
// TODO: fix memory leak here by listening to history somehow