diff --git a/Avatar.svelte b/Avatar.svelte index 50914db..82b0c50 100644 --- a/Avatar.svelte +++ b/Avatar.svelte @@ -1,7 +1,7 @@ diff --git a/Badge.svelte b/Badge.svelte index f8e2569..4445804 100644 --- a/Badge.svelte +++ b/Badge.svelte @@ -1,7 +1,7 @@ diff --git a/Button.svelte b/Button.svelte index 0fba102..96a9649 100644 --- a/Button.svelte +++ b/Button.svelte @@ -1,7 +1,7 @@ diff --git a/Checkbox.svelte b/Checkbox.svelte index b992005..bf6faac 100644 --- a/Checkbox.svelte +++ b/Checkbox.svelte @@ -1,7 +1,7 @@ diff --git a/Counter.svelte b/Counter.svelte index 2ef0649..d40b4ba 100644 --- a/Counter.svelte +++ b/Counter.svelte @@ -1,7 +1,7 @@ diff --git a/Dropdown.svelte b/Dropdown.svelte index 428b21f..81e2527 100644 --- a/Dropdown.svelte +++ b/Dropdown.svelte @@ -1,7 +1,7 @@ diff --git a/Dropdown/Option.svelte b/Dropdown/Option.svelte index c85ed94..ad019f9 100644 --- a/Dropdown/Option.svelte +++ b/Dropdown/Option.svelte @@ -1,7 +1,7 @@ diff --git a/Emoji.svelte b/Emoji.svelte index 4e3bab3..43b7e7d 100644 --- a/Emoji.svelte +++ b/Emoji.svelte @@ -1,7 +1,7 @@ @@ -14,13 +14,8 @@ export let size: EmojiSize = "regular"; export let style: string | undefined = undefined; - // Set the static asset path prefix to be relative when running this in - // Upstream and absolute when its run in any other environment. This allows - // us to use this component in the workstreams web app. - const assetPathPrefix = - typeof window !== "undefined" && typeof window.electron === "object" - ? "" - : "/"; + // Set this to an empty string if you need a relative asset path. + export let assetPathPrefix: string = "/";