Skip to content

Commit f335372

Browse files
authored
updating various typos (#3387)
1 parent 557c103 commit f335372

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/@headlessui-react/src/components/popover/popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function PopoverFn<TTag extends ElementType = typeof DEFAULT_POPOVER_TAG>(
297297
}
298298
}
299299

300-
// Use another heuristic to try and calculate wether or not the focusable
300+
// Use another heuristic to try and calculate whether or not the focusable
301301
// elements are near each other (aka, following the default focus/tab order
302302
// from the browser). If they are then it doesn't really matter if they are
303303
// portalled or not because we can follow the default tab order. But if they

packages/@headlessui-react/src/components/transition/transition.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function TransitionChildFn<TTag extends ElementType = typeof DEFAULT_TRANSITION_
297297
ref: Ref<HTMLElement>
298298
) {
299299
let {
300-
// Wether or not to enable transitions on the current element (by exposing
300+
// Whether or not to enable transitions on the current element (by exposing
301301
// transition data). When set to false, the `Transition` component still
302302
// acts as a transition boundary for `TransitionChild` components.
303303
transition = true,

packages/@headlessui-vue/src/components/popover/popover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export let Popover = defineComponent({
130130
}
131131
}
132132

133-
// Use another heuristic to try and calculate wether or not the focusable
133+
// Use another heuristic to try and calculate whether or not the focusable
134134
// elements are near each other (aka, following the default focus/tab
135135
// order from the browser). If they are then it doesn't really matter if
136136
// they are portalled or not because we can follow the default tab order.

0 commit comments

Comments
 (0)