fix
This commit is contained in:
parent
fb0812032b
commit
3640ceecb5
@ -86,7 +86,7 @@ title = "3Dホログラムを作った"
|
||||
}
|
||||
```
|
||||
|
||||
```tsx:src/pages/time.tsx
|
||||
```ts:src/pages/time.tsx
|
||||
import React, { useState, useEffect } from 'react';
|
||||
|
||||
//function reverseString(str: string): string {
|
||||
@ -126,7 +126,7 @@ const ScreenTimeCanvas: React.FC = () => {
|
||||
export default ScreenTimeCanvas;
|
||||
```
|
||||
|
||||
```tsx:src/pages/vrm.tsx
|
||||
```ts:src/pages/vrm.tsx
|
||||
import * as THREE from 'three'
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import { OrbitControls } from '@react-three/drei'
|
||||
@ -205,7 +205,7 @@ export const VRMModelCanvas = () => {
|
||||
export default VRMModelCanvas;
|
||||
```
|
||||
|
||||
```tsx:src/App.tsx
|
||||
```ts:src/App.tsx
|
||||
import React from 'react'
|
||||
import VRMModelCanvas from './pages/vrm'
|
||||
import ScreenTimeCanvas from './pages/time'
|
||||
|
Loading…
Reference in New Issue
Block a user