Skip to content

Commit

Permalink
misery
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyush1712 authored Dec 15, 2024
1 parent 6e96a37 commit 027b91a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 95 deletions.
80 changes: 0 additions & 80 deletions src/app/feedback-form/page.tsx

This file was deleted.

16 changes: 1 addition & 15 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
"use client";
import { Box, Divider, Grid, IconButton, Link, Stack, Tooltip, Typography } from "@mui/material";
import { links } from "@/utils/links";
import Image from "next/image";
import AnimatedTextComponent from "@/ui/HomePageCaption";

type Params = Promise<{ slug: string }>;
type SearchParams = Promise<{ [key: string]: string | string[] | undefined }>;

// eslint-disable-next-line @next/next/no-async-client-component
export default async function Home(props: { params: Params; searchParams: SearchParams }) {
const params = await props.params;
const searchParams = await props.searchParams;

if (searchParams && searchParams["feedback"]) {
setTimeout(() => {
window.location.href = process.env.NEXT_PUBLIC_FEEDBACK_FORM_URL!;
}, 5000);
}

export default function Home() {
const iconLink = (link: any) => {
return (
<Tooltip key={link.index} title={link.title} arrow>
Expand Down

1 comment on commit 027b91a

@vercel
Copy link

@vercel vercel bot commented on 027b91a Dec 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.