Last active
February 15, 2022 12:55
-
-
Save cborodescu/991247384affda7aa25adb32d98e8f41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Recommendations({ cartValue }) { | |
const { nextCartValue } = useNextCartValue(); | |
return ( | |
// Products with prices that do not exceed ${nextCartValue} | |
); | |
} | |
function App({ api }) { | |
const nextCartValue = api.getNextCartValue(); | |
return ( | |
<UserIntentGraphProvider | |
userIntentGraphClient={userIntentGraphClient} | |
user={api.getUser()} | |
> | |
<Recommendations nextCartValue={nextCartValue} /> | |
</UserIntentGraphProvider> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment