Skip to content

Commit

Permalink
Fix feature feedback slack error
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Sep 6, 2024
1 parent 96af3b1 commit 84be38d
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions features/userFeedback/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,16 @@ export async function submit(
bold: true,
},
},
{
type: "text",
text:
type === "bug" && path !== undefined
? ` at path \`${path}\``
: "",
style: {
bold: true,
},
},
],
type === "bug" && path !== undefined
? {
type: "text",
text: ` at path \`${path}\``,
style: {
bold: true,
},
}
: null,
].filter(Boolean),
},
],
},
Expand Down

0 comments on commit 84be38d

Please sign in to comment.