chore: app router - /payment pages (#18152)
* remove Head from payment page comp * remove route from pages router * move out of future folder * add to config.matcher * remove unneeded code * update middleware * fix * fix
This commit is contained in:
1 parent
0dab3e1a6d
commit
828940b4d6
5 files changed
+25
-35
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
import classNames from "classnames";
|
||||
import dynamic from "next/dynamic";
|
||||
import Head from "next/head";
|
||||
import type { FC } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
@@ -88,12 +87,6 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
|
||||
|
||||
return (
|
||||
<div className="h-screen">
|
||||
<Head>
|
||||
<title>
|
||||
{t("payment")} | {eventName} | {APP_NAME}
|
||||
</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
<main className="mx-auto max-w-3xl py-24">
|
||||
<div className="fixed inset-0 z-50 overflow-y-auto scroll-auto">
|
||||
<div className="flex min-h-screen items-end justify-center px-4 pb-20 pt-4 text-center sm:block sm:p-0">
|
||||
|
||||
Reference in new issue
Block a user