Skip to content

Commit

Permalink
fix giving wrong stripe url
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghy2130 committed Oct 19, 2024
1 parent 323acaa commit da70ba9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
Scripts,
useLoaderData,
useLocation,
useNavigation,
useRevalidator,
} from "@remix-run/react";
import { useState, useEffect } from "react";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/pay._index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SpinnerSVG from "~/components/SpinnerSVG";
export const loader: LoaderFunction = async () => {
const data: { env: { [key: string]: string } } = {
env: {
STRIPE_RETURN_URL: process.env.STRIPE_RETURN_URL!,
SITE_URL: process.env.SITE_URL!,
},
};
return json(data);
Expand Down

0 comments on commit da70ba9

Please sign in to comment.