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

Commit

Permalink
chore: reduce import
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Aug 11, 2024
1 parent 565932b commit 7658524
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/yatai/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Physics, useBox } from "@react-three/cannon";
import { Canvas, type ThreeElements, useThree } from "@react-three/fiber";
import { useEffect, useState } from "react";
import React from "react";
import { memo, useEffect, useState } from "react";
import type {
BufferGeometry,
Material,
Expand All @@ -18,7 +17,7 @@ import {
} from "../../type/shooting";
import styles from "./index.module.css";

const YataiStage = React.memo(() => {
const YataiStage = memo(() => {
// 土台
const Foundation = (props: ThreeElements["mesh"]) => {
const args: [number, number, number] = [10, 2, 2];
Expand Down

0 comments on commit 7658524

Please sign in to comment.