Skip to content

Commit

Permalink
fix: misc bug fix (#2)
Browse files Browse the repository at this point in the history
* style: revert to old scrollbar

* fix: fonts and status update bug in spons form
  • Loading branch information
RupaakSrinivas authored Jun 20, 2024
1 parent dbc92e4 commit 95039a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ import {
Input,
PasswordInput,
} from "@mantine/core";
import { Inter } from "next/font/google";
import "react-toastify/dist/ReactToastify.css";
import { Suspense } from "react";
import Loading from "./loading";

const inter = Inter({subsets: ["latin"]});


export default function RootLayout({
children,
}: Readonly<{
Expand Down Expand Up @@ -105,7 +109,7 @@ export default function RootLayout({
<title>gibspons</title>
<ColorSchemeScript defaultColorScheme="light" />
</head>
<body>
<body className={`${inter.className}`}>
<MantineProvider theme={theme} defaultColorScheme="light">
<Suspense fallback={<Loading />}>{children}</Suspense>
</MantineProvider>
Expand Down
2 changes: 0 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/* eslint-disable @next/next/no-img-element */
"use client";
import Image from "next/image";
// import { Outfit } from "next/font/google";
import Navbar from "../components/Navbar";
import Footer from "../components/Footer";
import Link from "next/link";

// const outfit = Outfit({ subsets: ["latin"] });

export default function Home() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/SponsorshipForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function ModifySponsorship({
toast.error("Please select a PoC to update status!!");
return;
}
if (form.values.isAccepted) {
if (form.values.status === "Accepted") {
data = {
...data,
additional: values.additional,
Expand Down
4 changes: 2 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}

/* BEGIN: Custom Scrollbar */
::-webkit-scrollbar {
/* ::-webkit-scrollbar {
width: 5px;
}
Expand All @@ -35,4 +35,4 @@
&:hover {
background-color: #a0a0a0;
}
}
} */

0 comments on commit 95039a2

Please sign in to comment.