diff --git a/crates/wasm-runtime-host/src/lib.rs b/crates/wasm-runtime-host/src/lib.rs
index a76a7786..dce00ee2 100644
--- a/crates/wasm-runtime-host/src/lib.rs
+++ b/crates/wasm-runtime-host/src/lib.rs
@@ -424,14 +424,13 @@ pub fn find_wasm_components(components_path: impl AsRef) -> Vec
return None;
};
- if !metadata.is_file() {
- return None;
+ if metadata.is_file() || metadata.is_symlink() {
+ let path = entry.path();
+ if path.extension()? == "wasm" {
+ return Some(path);
+ }
}
- let path = entry.path();
- if path.extension()? == "wasm" {
- return Some(path);
- }
return None;
})
.collect();
diff --git a/examples/blog/web/src/components/Auth.tsx b/examples/blog/web/src/components/Auth.tsx
index 1e0591f8..ab963f5c 100644
--- a/examples/blog/web/src/components/Auth.tsx
+++ b/examples/blog/web/src/components/Auth.tsx
@@ -1,6 +1,6 @@
-import { Match, Suspense, Switch } from "solid-js";
+import { Match, Switch } from "solid-js";
import { useStore } from "@nanostores/solid";
-import { TbOutlineUser } from "solid-icons/tb";
+import { TbFillUser } from "solid-icons/tb";
import type { User } from "trailbase";
import { $client, $user, removeTokens, HOST } from "@/lib/client";
@@ -17,26 +17,22 @@ function UserBadge(props: { user: User | undefined }) {
return undefined;
};
- const Fallback = () => (
-
- );
-
return (
- ...
}>
-
-
}>
-
-
-
-
+
+
-
{profile()?.profile?.username ?? props.user?.email}
-
-
+
{profile()?.profile?.username ?? props.user?.email}
+
);
}