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 11import React from "react" ;
2- import withBaseUrl from "@docusaurus/withBaseUrl " ;
2+ import useBaseUrl from "@docusaurus/useBaseUrl " ;
33import styles from "../pages/styles.module.css" ;
44import classnames from "classnames" ;
55
@@ -46,7 +46,7 @@ export const Features = () => {
4646 < div className = "text--center" >
4747 < img
4848 className = { styles . featureImage }
49- src = { withBaseUrl ( imageUrl ) }
49+ src = { useBaseUrl ( imageUrl ) }
5050 alt = { title }
5151 />
5252 </ div >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
33import styled from "styled-components" ;
44import { Header , Container , H1 , Center } from "./common" ;
55import styles from "../pages/styles.module.css" ;
6- import withBaseUrl from "@docusaurus/withBaseUrl " ;
6+ import useBaseUrl from "@docusaurus/useBaseUrl " ;
77
88const ActionButton = styled . a `
99 ${ props => {
@@ -56,7 +56,7 @@ function ActionContainer() {
5656 </ ActionButton >
5757 < ActionButton
5858 type = "secondary"
59- href = { withBaseUrl ( "docs/guides/getting-started" ) }
59+ href = { useBaseUrl ( "docs/guides/getting-started" ) }
6060 target = "_self"
6161 >
6262 Learn basics
You can’t perform that action at this time.
0 commit comments