Skip to content

Commit

Permalink
[docs] Cleanup (#2497)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkashyap authored Aug 16, 2023
1 parent 0af95c2 commit ad1d93a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/data/toolpad/reference/api/create-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p class="description">Provide backend function that loads data on the page.</p>

:::warning
The `createFunction` API is deprecated and will be removed from Toolpad `v0.1.23` onwards. You can now use functions directly without needing to wrap them inside `createFunction` - See [custom functions](/toolpad/concepts/custom-functions/) for examples.
The `createFunction` API is deprecated and will be removed in a future version. You can now use functions directly without needing to wrap them inside `createFunction` - See [custom functions](/toolpad/concepts/custom-functions/) for examples.
:::

## Import
Expand Down
6 changes: 4 additions & 2 deletions docs/src/components/landing/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import SvgMuiLogo from 'docs/src/icons/SvgMuiLogomark';
import IconImage from 'docs/src/components/icon/IconImage';
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
import GradientText from 'docs/src/components/typography/GradientText';
import GetStartedButtons from './GetStartedButtons';
// import GetStartedButtons from './GetStartedButtons';
import GetStartedButtons from 'docs/src/components/home/GetStartedButtons';
import GithubStars from './GithubStars';
import CodeBlock from './CodeBlock';
import ROUTES from '../../route';
Expand Down Expand Up @@ -200,7 +201,8 @@ export default function Hero() {
primaryUrl={ROUTES.toolpadQuickstart}
secondaryLabel={'Book a demo'}
secondaryUrl={ROUTES.toolpadDemoBooking}
installation={'npx create-toolpad-app@latest'}
secondarUrlTarget="_blank"
altInstallation={'npx create-toolpad-app@latest'}
/>
<Box
sx={{
Expand Down

0 comments on commit ad1d93a

Please sign in to comment.