Skip to content

Commit 4fc54c6

Browse files
authored
Remove redundant addBasePath (#6425)
1 parent 38eaa1d commit 4fc54c6

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

packages/web/docs/src/app/product-updates/(posts)/2024-10-11-laboratory-improvements/page.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ date: 2024-10-11
66
authors: [dimitri]
77
---
88

9-
import { addBasePath } from 'next/dist/client/add-base-path'
10-
119
export function Caption({ children }) {
1210
return <p className="text-center text-sm italic">{children}</p>
1311
}
@@ -16,7 +14,7 @@ export function Video({ src, alt }) {
1614
return (
1715
<>
1816
<video autoPlay="autoplay" loop muted playsInline>
19-
<source src={addBasePath(src)} type="video/mp4" />
17+
<source src={src} type="video/mp4" />
2018
Your browser does not support the video tag.
2119
</video>
2220
<Caption>{alt}</Caption>

pnpm-lock.yaml

Lines changed: 38 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)