Skip to content

Commit

Permalink
cssの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
hikahana committed Aug 31, 2024
1 parent 178e716 commit f6bc904
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
23 changes: 10 additions & 13 deletions view-user/src/pages/prizes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import type { NextPage } from "next";
import styles from "./prizes.module.css";
import { PrizeCardList, Loading, Layout } from "@/components";
import { useRouter } from "next/router";
import { useState, useEffect } from "react";
import { ja, en } from "../../locales";
import { ja, en } from "@/locales";
import { useQuery, useSubscription } from "@apollo/client";
import {
GetListPrizesDocument,
Expand Down Expand Up @@ -53,17 +52,15 @@ const Page: NextPage = () => {
return (
<>
{loading && <Loading />}
<div className={styles.container}>
<Layout
pageName={pageName}
isSortedAscending={isSortedAscending}
setIsSortedAscending={setIsSortedAscending}
language={language}
setLanguage={setLanguage}
>
<PrizeCardList BingoPrize={bingoPrize} />
</Layout>
</div>
<Layout
pageName={pageName}
isSortedAscending={isSortedAscending}
setIsSortedAscending={setIsSortedAscending}
language={language}
setLanguage={setLanguage}
>
<PrizeCardList BingoPrize={bingoPrize} />
</Layout>
</>
);
};
Expand Down
7 changes: 0 additions & 7 deletions view-user/src/pages/prizes/prizes.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
.container {
height: 100vh;
width: 100vw;
overflow: auto;
background-color: white;
position: relative;
}

0 comments on commit f6bc904

Please sign in to comment.