hard coding in the url for the libracart button
This commit is contained in:
parent
7029a18d9c
commit
31af3ffa65
1 changed files with 1 additions and 3 deletions
|
|
@ -34,8 +34,6 @@ export default function LibraCartAccess() {
|
||||||
//const [dataOps, setDataOps] = useState<pond.DataOption[]>([]);
|
//const [dataOps, setDataOps] = useState<pond.DataOption[]>([]);
|
||||||
const { openSnack } = useSnackbar();
|
const { openSnack } = useSnackbar();
|
||||||
//const [{ as }] = useGlobalState();
|
//const [{ as }] = useGlobalState();
|
||||||
// const integration_url = process.env.REACT_APP_LIBRACART_INTEGRATION_URL;
|
|
||||||
const integration_url = import.meta.env.VITE_LIBRACART_INTEGRATION_URL;
|
|
||||||
|
|
||||||
|
|
||||||
const submitNewOrganization = () => {
|
const submitNewOrganization = () => {
|
||||||
|
|
@ -183,7 +181,7 @@ export default function LibraCartAccess() {
|
||||||
color="primary"
|
color="primary"
|
||||||
onClick={e => {
|
onClick={e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
window.open(`${integration_url}`, "_blank");
|
window.open(`https://staging.cloud.agrimatics.com/grain/integrations`, "_blank");
|
||||||
}}>
|
}}>
|
||||||
Link Libra Cart Account
|
Link Libra Cart Account
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue