Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-M22 authored and GabrielMajeri committed Apr 21, 2024
1 parent 7df29c2 commit 2412bac
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/accommodation-tax/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getDormsWithTax } from "@/db/dorms";
import { createDormTaxOptions } from "@/utils/forms/dorms";
import { getDormFormTexts } from "@/utils/forms/translations";
import { unstable_setRequestLocale } from "next-intl/server";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

interface Props {
params: { locale: string };
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/admission-tax/[studyCycle]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getAdmissionFormTexts } from "@/utils/forms/translations";
import { StudyCycle } from "@prisma/client";
import { unstable_setRequestLocale } from "next-intl/server";
import { notFound } from "next/navigation";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export function generateStaticParams() {
return Object.values(StudyCycle).map((cycle) => ({ studyCycle: cycle }));
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/tuition-tax/[studyCycle]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getTuitionFormTexts } from "@/utils/forms/translations";
import { StudyCycle } from "@prisma/client";
import { unstable_setRequestLocale } from "next-intl/server";
import { notFound } from "next/navigation";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export function generateStaticParams() {
return Object.values(StudyCycle).map((studyCycle) => ({ studyCycle }));
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/dormitories/add/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import AddDormitoryForm from "@/components/forms/admin/addDorm";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function AddDormitory() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/dormitories/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from "@/db/prisma";
import { StudentDorm } from "@prisma/client";
import DormitoryList from "@/components/admin/DormitoryList.client";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function getAllServer() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/dormitories/update/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import EditDormitoryForm from "@/components/forms/admin/editDorm";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

type Params = {
searchParams: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/euplatesc-accounts/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from "@/db/prisma";
import { EuPlatescAccount } from "@prisma/client";
import AccountList from "@/components/admin/AccountList.client";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function getAllServer() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/faculties/add/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import AddFacultyForm from "@/components/forms/admin/addFaculty";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function AddFaculty() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/faculties/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from "@/db/prisma";
import FacultyList from "@/components/admin/FacultyList.client";
import { Faculty } from "@prisma/client";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function getAll() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/faculties/update/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import EditFacultyForm from "@/components/forms/admin/editFaculty";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

type Params = {
searchParams: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/settings/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import HomeClient from "@/components/admin/Home.client";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function Home() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/taxes/dormitory/add/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from "@/db/prisma";
import AddTaxDormForm from "@/components/forms/admin/addDormTax";
import Navbar from "@/components/navbar";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function AddDormitoryTaxValue() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/taxes/dormitory/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from "@/db/prisma";
import { StudentDormTaxValue, StudentDorm } from "@prisma/client";
import DormitoryTaxList from "@/components/admin/DormitoryTaxList.client";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function getAll() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/taxes/dormitory/update/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import EditTaxDormForm from "@/components/forms/admin/editDormTax";
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

type Props = {
searchParams: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/taxes/faculty/add/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Navbar from "@/components/navbar";
import prisma from "@/db/prisma";
import AddFacultyTaxForm from "@/components/forms/admin/addFacultyTax";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function Add() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/taxes/faculty/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import prisma from "@/db/prisma";
import Navbar from "@/components/navbar";
import { FacultyTaxValue } from "@prisma/client";
import FacultyTaxList from "@/components/admin/FacultyTaxList.client";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function getAll() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/taxes/faculty/update/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Navbar from "@/components/navbar";
import { updateTaxFaculty } from "@/actions/actions";
import prisma from "@/db/prisma";
import EditFacultyTaxForm from "@/components/forms/admin/editFacultyTax";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

type Props = {
searchParams: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/transactions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import prisma from "@/db/prisma";
import { Transaction } from "@prisma/client";
import TransactionsList from "@/components/admin/TransactionsList.client";
import Navbar from "@/components/navbar";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function getAll() {
unstable_noStore();
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/users/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SearchBar from "./SearchBar";
import { FaTrash } from "react-icons/fa";
import { deleteAdmin } from "@/actions/actions";
import { getAccessToken } from "@/utils/microsoft-graph";
import {unstable_noStore} from "next/cache";
import { unstable_noStore } from "next/cache";

export default async function Home() {
unstable_noStore();
Expand Down

0 comments on commit 2412bac

Please sign in to comment.