Skip to content

Commit

Permalink
Add 'from' to import statement (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirDaev authored Aug 17, 2021
1 parent ac00140 commit c17cb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/landing-page/codeExamples.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ReactDOM.render(
`

export const exampleFrontend = `
import { useShoppingCart, formatCurrencyString } 'use-shopping-cart'
import { useShoppingCart, formatCurrencyString } from 'use-shopping-cart'
function Product({ product }) {
const { redirectToCheckout } = useShoppingCart()
Expand Down

0 comments on commit c17cb0d

Please sign in to comment.