Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
toonami2907 committed Jul 21, 2024
1 parent 57007bb commit 227eb21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions app/components/BlogCards.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { FC } from "react";

interface BlogCardProperties {

Check warning on line 1 in app/components/BlogCards.tsx

View workflow job for this annotation

GitHub Actions / eslint

'BlogCardProperties' is defined but never used. Allowed unused vars must match /^_/u

Check failure on line 1 in app/components/BlogCards.tsx

View workflow job for this annotation

GitHub Actions / eslint

'BlogCardProperties' is defined but never used
title: string;
description: string;
Expand Down
4 changes: 1 addition & 3 deletions app/components/WaitListForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Form, useActionData } from "@remix-run/react";
import { CheckCircle2, Mail, ThumbsUp } from "lucide-react";
import React, { useEffect, useState } from "react";

import { Input } from "./ui/input";
import { Input } from "./ui/input";

interface ActionData {
error?: string;
Expand All @@ -27,7 +27,6 @@ export const action: ActionFunction = async ({ request }) => {
return { error: "Name and valid email are required" };
}


return { success: true };
};

Expand All @@ -48,7 +47,6 @@ const WaitlistForm: React.FC = () => {
if (!name) {
setError("Your Name is required to proceed");
} else if (validateEmail(email)) {

return true;
} else {
setError("Please input a valid email address");
Expand Down

0 comments on commit 227eb21

Please sign in to comment.