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.

drive by __DEPRECATED__Text refactor

Sultan6403dea8bbe8
diff --git a/apps/designer/app/auth/login.tsx b/apps/designer/app/auth/login.tsx
index 14bf2d305b..42dd507b4b 100644
--- a/apps/designer/app/auth/login.tsx
+++ b/apps/designer/app/auth/login.tsx
@@ -7,7 +7,7 @@ import {
Flex,
Heading,
Button,
- __DEPRECATED__Text,
+ Text,
TextField,
} from "@webstudio-is/design-system";
import interStyles from "~/shared/font-faces/inter.css";
@@ -49,9 +49,9 @@ export const Login = ({ errorMessage }: { errorMessage: string }) => {
<Heading size="2">Login</Heading>
<Flex direction="column" gap="4" css={{ width: 300 }}>
{errorMessage.length ? (
- <__DEPRECATED__Text css={{ textAlign: "center" }} variant="red">
+ <Text css={{ textAlign: "center" }} variant="red">
{errorMessage}
- </__DEPRECATED__Text>
+ </Text>
) : null}
<Flex gap="2" direction="column">
<Form action="/auth/github" method="post">