Skip to content

Commit a41620a

Browse files
authored
fix: TimeSlider.Value throws TypeError in Next.js production afte... (#1853)
1 parent 04143af commit a41620a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/vidstack/src/components/ui/sliders/slider-value.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export class SliderValue extends Component<SliderValueProps> {
4747
*/
4848
@method
4949
getValueText() {
50+
if (!this.scope || !this.#slider || !this.#format) return '';
51+
5052
const {
5153
type,
5254
format: $format,

0 commit comments

Comments
 (0)