Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Fix: /pages以下に直接routerから読み込まないJSXをcomponents/responsiveへ移動
Browse files Browse the repository at this point in the history
  • Loading branch information
Sea10wood committed Aug 10, 2024
1 parent e24f655 commit d050219
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { DefaultButton } from "../../components/ui/Button";
import TextButton from "../../components/ui/TextButton";

import { DefaultButton } from "../../ui/Button";
import TextButton from "../../ui/TextButton";
import styles from "./index.module.css";

function HomePC() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DefaultButton } from "../../components/ui/Button";
import { DefaultButton } from "../../ui/Button";
import styles from "./index.module.css";

function HomeSP() {
Expand Down
5 changes: 3 additions & 2 deletions src/pages/home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { useEffect, useState } from "react";
import { device } from "../../utils/device";
import HomePC from "../homePC/index.tsx";
import HomeSP from "../homeSP/index.tsx";
import HomePC from "../../components/responsive/homePC";
import HomeSP from "../../components/responsive/homeSP";


function Home() {
const [isPcScreen, setIsPcScreen] = useState(
Expand Down

0 comments on commit d050219

Please sign in to comment.