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

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Aug 10, 2024
1 parent 49e9b51 commit 73fcab0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/pages/home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
import { useEffect, useState } from "react";
import { useNavigate } from "react-router-dom";
import HomePC from "../../components/responsive/homePC";
import HomeSP from "../../components/responsive/homeSP";
import { DefaultButton } from "../../components/ui/Button";
import { useSocketRefStore } from "../../store";
import { device } from "../../utils/device";
import { requestPermission } from "../../utils/permission";
import styles from "./index.module.css";

function Home() {
const navigate = useNavigate();

const [isPcScreen, setIsPcScreen] = useState(
window.matchMedia(device.pc).matches,
);
const setRef = useSocketRefStore((state) => state.setRef);

useEffect(() => {
const mediaQuery = window.matchMedia(device.pc);
Expand Down

0 comments on commit 73fcab0

Please sign in to comment.