Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/website/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const config: NextConfig = {
pageExtensions: ["md", "mdx", "tsx", "ts", "jsx", "js"],
rewrites: async () => {
return {
// Disallow access to the source nap files.
beforeFiles: [
// Disallow access to the source map files in production.
beforeFiles: env.NODE_ENV === "production" ? [
{
source: "/:path*.map",
destination: "/404",
},
],
] : undefined,
afterFiles: [
{
source: "/ingest/static/:path*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function PaymentForm({
return () => {
// @ts-expect-error ignoring type error
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
window?.cardPaymentBrickController?.unmount();
window?.paymentBrickController?.unmount();
};
}, []);
const onSubmit = async (formData: IPaymentFormData) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/_components/top-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function TopNav() {
async function SubscribeButton() {
const t = await getTranslations("App");
return (
<Button asChild className="mr-5 whitespace-pre-wrap">
<Button className="mr-5 whitespace-pre-wrap">
<Link href="/subscription">
<div>
{t("Buy")} <span className="inline-block font-bold">{t("name")}</span>
Expand Down
Loading