Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(frontend): fix 'wether' typos in comments (#69187)

Julian Beze52afd4b1c0f
diff --git a/frontend/src/queries/utils.ts b/frontend/src/queries/utils.ts
index 78c218214655..aecd0fa8c58a 100644
--- a/frontend/src/queries/utils.ts
+++ b/frontend/src/queries/utils.ts
@@ -1091,7 +1091,7 @@ export function setLatestVersionsOnQuery<T = any>(node: T, options?: { recursion
return cloned as T
}
-/** Checks wether a given query node satisfies all latest versions of the query schema. */
+/** Checks whether a given query node satisfies all latest versions of the query schema. */
export function checkLatestVersionsOnQuery(node: any): boolean {
if (node === null || typeof node !== 'object') {
return true
diff --git a/frontend/src/scenes/funnels/funnelDataLogic.ts b/frontend/src/scenes/funnels/funnelDataLogic.ts
index 2c2553ab0c41..023739bda7d7 100644
--- a/frontend/src/scenes/funnels/funnelDataLogic.ts
+++ b/frontend/src/scenes/funnels/funnelDataLogic.ts
@@ -360,7 +360,7 @@ export const funnelDataLogic = kea<funnelDataLogicType>([
return []
}
- // we need to check wether results are an array, since isTimeToConvertFunnel can be false,
+ // we need to check whether results are an array, since isTimeToConvertFunnel can be false,
// while still having "time-to-convert" results in insightData
if (!isTimeToConvertFunnel && Array.isArray(results) && results.length > 0) {
// STEPS compare: the runner returns both periods' steps as a flat tagged list.
diff --git a/frontend/src/scenes/insights/utils.tsx b/frontend/src/scenes/insights/utils.tsx
index 35f045b27131..73f04f3ec8ab 100644
--- a/frontend/src/scenes/insights/utils.tsx
+++ b/frontend/src/scenes/insights/utils.tsx
@@ -609,7 +609,7 @@ export function getTrendDatasetPosition(dataset: IndexedTrendResult): number {
return dataset.seriesIndex ?? dataset.colorIndex ?? ((dataset as any).index as number)
}
-/** Type guard to determine wether we have a FunnelStepWithConversionMetrics or a FlattenedFunnelStepByBreakdown */
+/** Type guard to determine whether we have a FunnelStepWithConversionMetrics or a FlattenedFunnelStepByBreakdown */
function isFunnelStepWithConversionMetrics(
dataset: FlattenedFunnelStepByBreakdown | FunnelStepWithConversionMetrics
): dataset is FunnelStepWithConversionMetrics {
diff --git a/frontend/src/scenes/insights/views/Funnels/FunnelStepsTable.tsx b/frontend/src/scenes/insights/views/Funnels/FunnelStepsTable.tsx
index cf1e01657ba4..817aa0f3ac68 100644
--- a/frontend/src/scenes/insights/views/Funnels/FunnelStepsTable.tsx
+++ b/frontend/src/scenes/insights/views/Funnels/FunnelStepsTable.tsx
@@ -55,7 +55,7 @@ export function FunnelStepsTable(): JSX.Element | null {
/** :HACKY: We don't want to allow changing of colors in experiments (they can't be
saved there). Therefore we use the `disable_baseline` prop on the cached insight passed
- in by experiments as a measure of detecting wether we are in an experiment context.
+ in by experiments as a measure of detecting whether we are in an experiment context.
Likely this can be done in a better way once experiments are re-written to use their own
queries. */
const showCustomizationIcon = !insightProps.cachedInsight?.disable_baseline