Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions app/src/components/authentication/AuthForm/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect, useMemo, useCallback } from "react";
import { useSelector } from "react-redux";
import { useLocation, useNavigate } from "react-router-dom";
import { useNavigate } from "react-router-dom";
import { RQButton, RQInput } from "lib/design-system/components";
import { toast } from "utils/Toast";
import { Typography, Row, Col } from "antd";
Expand All @@ -17,7 +17,6 @@ import { getAuthErrorMessage, AuthTypes } from "../utils";
//CONSTANTS
import { CONSTANTS as GLOBAL_CONSTANTS } from "@requestly/requestly-core";
import APP_CONSTANTS from "../../../config/constants";
import PATHS from "config/constants/sub/paths";

//ACTIONS
import {
Expand Down Expand Up @@ -54,7 +53,6 @@ const AuthForm = ({
}) => {
const dispatch = useDispatch();
const navigate = useNavigate();
const location = useLocation();
//LOAD PROPS
const callbackFromProps = callbacks || {};
const { onSignInSuccess, onRequestPasswordResetSuccess } = callbackFromProps;
Expand Down Expand Up @@ -440,9 +438,7 @@ const AuthForm = ({

<Col span={11} className="signup-modal-section-wrapper signup-form-wrapper">
<Typography.Text type="primary" className="text-bold w-full header">
{location.pathname === PATHS.APPSUMO.RELATIVE
? "Signup to redeem your AppSumo code"
: "Create your Requestly account"}
Create your Requestly account
</Typography.Text>

<Row align={"middle"} className="mt-1">
Expand Down

This file was deleted.

This file was deleted.

Loading