+ {#if term}
+ Nothing matched your search.
+ {:else}
+ Join a space or start a conversation to have somewhere to share to.
+ {/if}
+
+ {/if}
+
+
+
+
+
+
+
diff --git a/src/app/components/EventShare.svelte b/src/app/components/ShareEvent.svelte
similarity index 92%
rename from src/app/components/EventShare.svelte
rename to src/app/components/ShareEvent.svelte
index d1908b4e..94485147 100644
--- a/src/app/components/EventShare.svelte
+++ b/src/app/components/ShareEvent.svelte
@@ -1,10 +1,8 @@
diff --git a/src/routes/share/+page.svelte b/src/routes/share/+page.svelte
new file mode 100644
index 00000000..2201efb0
--- /dev/null
+++ b/src/routes/share/+page.svelte
@@ -0,0 +1,14 @@
+
diff --git a/src/routes/spaces/[relay]/library/[address]/+page.svelte b/src/routes/spaces/[relay]/library/[address]/+page.svelte
index 136a9e9d..a79713a3 100644
--- a/src/routes/spaces/[relay]/library/[address]/+page.svelte
+++ b/src/routes/spaces/[relay]/library/[address]/+page.svelte
@@ -29,7 +29,7 @@
import {app, deletes, network} from "@app/core"
import {deriveUserIsSpaceAdmin} from "@app/management"
import {decodeRelay} from "@app/relays"
- import {shareEventToChat} from "@app/share"
+ import {shareEvent} from "@app/share"
import {pushModal} from "@app/modal"
import {pushToast} from "@app/toast"
@@ -80,7 +80,7 @@
menuOpen = false
if ($board) {
- shareEventToChat(url, "Shelf", $board.event)
+ shareEvent(url, "Shelf", $board.event)
}
}
diff --git a/vite.config.ts b/vite.config.ts
index 752a5bed..81434ad6 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -13,7 +13,9 @@ export default defineConfig({
// carries node_modules from welshman's own install — a second prosemirror, whose Plugin and
// PluginKey classes tiptap refuses to mix with ours ("Adding different instances of a keyed
// plugin"). Deduping resolves these to this project's copy wherever they are imported from, and
- // does nothing when only one copy exists.
+ // does nothing when only one copy exists. Vite resolves a deduped package from the project root
+ // and nowhere else, so every name listed here has to be a direct dependency — under pnpm a
+ // transitive one isn't reachable from the root and the build fails to resolve it.
resolve: {
dedupe: [
"@tiptap/core",