mirror of
https://github.com/fmhy/edit.git
synced 2026-01-28 19:01:02 +00:00
chore(Feedback): remove bug type
Nobody was using the type as intended, so this is part 1 of me phasing it out.
This commit is contained in:
@@ -18,7 +18,7 @@ import z from 'zod'
|
||||
|
||||
export const FeedbackSchema = z.object({
|
||||
message: z.string().min(5).max(1000),
|
||||
type: z.enum(['bug', 'suggestion', 'appreciation', 'other']),
|
||||
type: z.enum(['suggestion', 'appreciation', 'other']),
|
||||
page: z.string().min(3).max(20),
|
||||
// For heading based feedback
|
||||
heading: z.string().min(3).max(20).optional()
|
||||
@@ -34,8 +34,6 @@ export const feedbackOptions: Option[] = [
|
||||
label: '💡 I have a suggestion',
|
||||
value: 'suggestion'
|
||||
},
|
||||
|
||||
{ label: '🐛 I want to report a website bug', value: 'bug' },
|
||||
{
|
||||
label: '👍 I appreciate the work',
|
||||
value: 'appreciation'
|
||||
|
||||
Reference in New Issue
Block a user