Skip to content

Commit

Permalink
resolve typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bianca Yang committed Oct 27, 2023
1 parent 09bde71 commit 65937b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/scenes/billing/billingProductLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const billingProductLogic = kea<billingProductLogicType>([
posthog.getActiveMatchingSurveys((surveys) => {
const matchingSurvey = surveys.filter((survey) => survey.id === surveyID)[0]
if (!matchingSurvey) {
deactivateProduct(productType)
actions.deactivateProduct(productType)
throw new Error(`Survey with ID ${surveyID} not found.`)
}
posthog.capture('survey shown', {
Expand Down

0 comments on commit 65937b8

Please sign in to comment.