Skip to content

message for empty draft , sent , archive handled. #147

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

Closed
wants to merge 2 commits into from

Conversation

ketanMehtaa
Copy link
Contributor

Copy link

vercel bot commented Feb 28, 2024

@ketanMehtaa is attempting to deploy a commit to the Inbox Zero Team on Vercel.

A member of the Team first needs to authorize it.

@@ -4,17 +4,44 @@ import Image from "next/image";
import { getCelebrationImage } from "@/utils/celebration";
import { Button } from "@/components/Button";

export function Celebration(props: { message: string }) {
export function Celebration(props: { type: string }) {
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks. I'd just use the existing format and pass in the relevant message. No need to change the props. Or this component at all.

@elie222
Copy link
Owner

elie222 commented Feb 28, 2024

Thanks. There's no need to show a celebration at all for drafts. You can have a simple message without any graphic for drafts.

@elie222 elie222 closed this Mar 6, 2024
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