From 3640ceecb54d0f47d09c4bd0208016e271764c40 Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 2 Oct 2024 15:06:50 +0900 Subject: [PATCH] fix --- content/blog/2024-10-01-holo.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/blog/2024-10-01-holo.md b/content/blog/2024-10-01-holo.md index 638575f..ef8a1c7 100644 --- a/content/blog/2024-10-01-holo.md +++ b/content/blog/2024-10-01-holo.md @@ -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'