Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelchris committed Feb 5, 2025
1 parent 04336aa commit 16783a9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ export const SmartPrompt = ({ post }: { post: Post }): ReactElement => {
}
}

if (![PromptDisplay.CustomPrompt, PromptDisplay.TLDR].includes(prompt)) {
if (
prompt !== PromptDisplay.TLDR &&
prompt !== PromptDisplay.CustomPrompt
) {
logEvent(
postLogEvent(LogEvent.SmartPrompt, post, {
extra: { prompt },
Expand Down

0 comments on commit 16783a9

Please sign in to comment.