Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

PR fixes

Sara Vieira5c492469c77b
diff --git a/app/dashboard/dashboard.tsx b/app/dashboard/dashboard.tsx
index e7b7df082a..99c449d3a4 100644
--- a/app/dashboard/dashboard.tsx
+++ b/app/dashboard/dashboard.tsx
@@ -92,7 +92,7 @@ export const Dashboard = ({ projects = [], config, user }: DashboardProps) => {
<Button variant="raw" aria-label="Menu Button">
<Flex gap="1" align="center">
<Avatar.Root>
- {user?.image && <StyledAvatar src={user?.image} />}
+ {user.image && <StyledAvatar src={user.image} />}
<StyledFallback delayMs={500}>
{userNameFallback}
</StyledFallback>
diff --git a/app/services/auth.server.ts b/app/services/auth.server.ts
index 9c156f0aa8..a1a9c94a69 100644
--- a/app/services/auth.server.ts
+++ b/app/services/auth.server.ts
@@ -55,10 +55,8 @@ if (process.env.NODE_ENV === "development") {
authenticator.use(
new FormStrategy(async ({ form }) => {
const secret = form.get("secret");
- console.log(secret === process.env.AUTH_SECRET);
if (secret === process.env.AUTH_SECRET) {
const user = await createOrLoginWithDev(secret);
- console.log(user);
return user;
}