File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import withBaseUrl from "@docusaurus/withBaseUrl " ;
2
+ import useBaseUrl from "@docusaurus/useBaseUrl " ;
3
3
import styles from "../pages/styles.module.css" ;
4
4
import classnames from "classnames" ;
5
5
@@ -46,7 +46,7 @@ export const Features = () => {
46
46
< div className = "text--center" >
47
47
< img
48
48
className = { styles . featureImage }
49
- src = { withBaseUrl ( imageUrl ) }
49
+ src = { useBaseUrl ( imageUrl ) }
50
50
alt = { title }
51
51
/>
52
52
</ div >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
3
3
import styled from "styled-components" ;
4
4
import { Header , Container , H1 , Center } from "./common" ;
5
5
import styles from "../pages/styles.module.css" ;
6
- import withBaseUrl from "@docusaurus/withBaseUrl " ;
6
+ import useBaseUrl from "@docusaurus/useBaseUrl " ;
7
7
8
8
const ActionButton = styled . a `
9
9
${ props => {
@@ -56,7 +56,7 @@ function ActionContainer() {
56
56
</ ActionButton >
57
57
< ActionButton
58
58
type = "secondary"
59
- href = { withBaseUrl ( "docs/guides/getting-started" ) }
59
+ href = { useBaseUrl ( "docs/guides/getting-started" ) }
60
60
target = "_self"
61
61
>
62
62
Learn basics
You can’t perform that action at this time.
0 commit comments