Skip to content

Commit

Permalink
fix: cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Aug 28, 2023
1 parent ab7f05e commit 0edd174
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/auth/registration/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function Register() {

const steps = [
{ label: "Your information", component: <NameField /> },
{ label: `Your business's information`, component: <AddressField /> },
{ label: "Your business's information", component: <AddressField /> },
];

return (
Expand Down
7 changes: 0 additions & 7 deletions src/auth/registration/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,3 @@ export const initialValues: RegistrationForm = {
zipcode: "",
},
};

export const GradientText = {
backgroundImage:
"linear-gradient(96.46deg, #FF2869 -4.13%, #930BFE 82.88%), linear-gradient(0deg, #111317, #111317);",
backgroundClip: "text",
color: "transparent",
};
8 changes: 7 additions & 1 deletion src/auth/views/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ import goals from "../../../images.svg";
import { useIsAuthenticated } from "auth/hooks/queries/useIsAuthenticated";
import { Link as RouterLink } from "react-router-dom";
import { useIsMobile } from "hooks/useIsMobile";
import { GradientText } from "auth/registration/types";
import { MobileAdsBenefits } from "auth/views/MobileAdsBenefits";

const GradientText = {
backgroundImage:
"linear-gradient(96.46deg, #FF2869 -4.13%, #930BFE 82.88%), linear-gradient(0deg, #111317, #111317);",
backgroundClip: "text",
color: "transparent",
};

export function LandingPage() {
const isAuthenticated = useIsAuthenticated();
const isMobile = useIsMobile();
Expand Down

0 comments on commit 0edd174

Please sign in to comment.