Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

subscription_button #2

wants to merge 5 commits into from

Conversation

Sufl0wer
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@alexandr-senyuk alexandr-senyuk left a 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">
Copy link
Collaborator

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const [open, setOpen] = React.useState(false);
const [open, setOpen] = useState(false);

@@ -0,0 +1,61 @@
import React from 'react';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import React from 'react';
import React, {useState} from 'react';

@Sufl0wer
Copy link
Collaborator Author

ваня попросил убрать это со сраницы, а запросом на создание сабскрипшена уже занимаюсь

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants