Skip to content

Commit

Permalink
Fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoroney committed Oct 5, 2024
1 parent 14f237e commit 5b9c612
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact 📡
uses: actions/upload-pages-artifact@v3
with:
path: ./out
path: ./auto-subs-info/out

deploy:
environment:
Expand Down
11 changes: 1 addition & 10 deletions auto-subs-info/components/landing-page.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
'use client'

import { useState } from 'react'
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import { Github, Download, Zap, Type, Globe, Sparkles, Clock, Heart, MessageCircle, Paintbrush } from 'lucide-react'
import { Github, Download, Zap, Type, Globe, Sparkles, Heart, MessageCircle, Paintbrush } from 'lucide-react'

export default function Component() {
const [email, setEmail] = useState('')

const handleSubmit = (e: React.FormEvent) => {
e.preventDefault()
// Handle email submission here
console.log('Submitted email:', email)
setEmail('')
}

return (
<div className="flex flex-col min-h-screen bg-gray-50 font-sans">
Expand Down
5 changes: 1 addition & 4 deletions auto-subs-info/components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ import * as React from "react"

import { cn } from "@/lib/utils"

export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}

const Input = React.forwardRef<HTMLInputElement, InputProps>(
const Input = React.forwardRef<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>(
({ className, type, ...props }, ref) => {
return (
<input
Expand Down

0 comments on commit 5b9c612

Please sign in to comment.