-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subscription_button #2
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Кроме того что ты не сделал отправку email а сервер, ты еще на ставил это все на страницу.
Понимаю что пока что этого всего нет потому что кода Вани нет, но для начал сделаей отправку емэйла на сервер, а id прилажения захардодь. Это будет передаваться через props
<Button onClick={handleClose} color="primary"> | ||
Cancel | ||
</Button> | ||
<Button onClick={handleClose} color="primary"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Так а логику а где запрос на создание сабскрипшена?
import Icon from "@material-ui/core/Icon"; | ||
|
||
export default function FormDialog() { | ||
const [open, setOpen] = React.useState(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const [open, setOpen] = React.useState(false); | |
const [open, setOpen] = useState(false); |
@@ -0,0 +1,61 @@ | |||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import React from 'react'; | |
import React, {useState} from 'react'; |
ваня попросил убрать это со сраницы, а запросом на создание сабскрипшена уже занимаюсь |
No description provided.