mirror of
https://gitea.com/gitea/blog.git
synced 2024-06-02 00:21:25 +05:30
remove
This commit is contained in:
parent
8acf58e28d
commit
f3a4d5a791
|
@ -3,18 +3,7 @@ import React from "react"
|
|||
|
||||
import styles from "./styles.module.css"
|
||||
|
||||
const Input = ({
|
||||
value,
|
||||
defaultValue,
|
||||
onChange,
|
||||
className,
|
||||
name,
|
||||
pattern,
|
||||
placeholder,
|
||||
required,
|
||||
title,
|
||||
type,
|
||||
}) => {
|
||||
const Input = ({ value, defaultValue, onChange, className, name, pattern, placeholder, required, title, type }) => {
|
||||
const classes = clsx(className, styles.input)
|
||||
|
||||
return (
|
||||
|
|
|
@ -9,10 +9,6 @@ const Spinner = () => <span className={style.loader} />
|
|||
const Subscribe = ({placeholder, submitButtonText, className, classNameInputs}) => {
|
||||
const [loading, setLoading] = useState(false)
|
||||
|
||||
const onSubmit = () => {
|
||||
setLoading(true)
|
||||
}
|
||||
|
||||
return (
|
||||
<form method="post" action="https://list.gitea.com/subscription/form" className={clsx(style.root, className)} onSubmit={() => {setLoading(true)}}>
|
||||
<div className={clsx(style.inputs, classNameInputs)}>
|
||||
|
|
Loading…
Reference in a new issue