feat: session list responsive

This commit is contained in:
Tristan Yang
2023-01-31 07:55:37 +08:00
parent f5aabee719
commit 8160c31b39
13 changed files with 70 additions and 157 deletions
+8 -1
View File
@@ -1,7 +1,14 @@
import { DOMAttributes, ReactNode } from "react";
import { useParams } from "react-router-dom";
import PaymentSuccess from "./PaymentSuccess";
import GithubCallback, { GithubLoginSource } from "./GithubCallback";
import StyledWrapper from "./styled";
const StyledWrapper = ({ children }: DOMAttributes<HTMLDivElement> & { children?: ReactNode }) => {
return <div className="flex-center w-screen h-screen break-words leading-normal">
{children}
</div>;
};
// type Props = {
// type: "payment_success";
// };
-10
View File
@@ -1,10 +0,0 @@
import { DOMAttributes, ReactNode } from "react";
const StyledWrapper = ({ children }: DOMAttributes<HTMLDivElement> & { children?: ReactNode }) => {
return <div className="flex-center w-screen h-screen break-words leading-normal">
{children}
</div>;
};
export default StyledWrapper;