Skip to content

Commit b1dc477

Browse files
committed
update typescript
1 parent 100f788 commit b1dc477

File tree

4 files changed

+311
-234
lines changed

4 files changed

+311
-234
lines changed

components/animated/Typing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const Button: React.FC<IProps> = ({ children, colorChange, randomize }) => {
8585

8686
const type = useCallback(() => {
8787
const part = parts[partIndexRef.current]
88-
const charactersArray = [...part]
88+
const charactersArray = part.split('')
8989
const character = charactersArray[characterIndexRef.current]
9090
// set a new color
9191
if (withColorChange && characterIndexRef.current === 0) {

components/neonRoad/Landscape.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import { moveFromAToBInLoop } from './lib/helpers'
88
import PalmModel from './Palm'
99
import { Vector3, Euler, type Group } from 'three'
1010

11-
12-
1311
const Terrains: React.FC = () => {
1412

1513
const [terrainElementsState, setTerrainElementsState] = useState<React.ReactElement[]>([])

0 commit comments

Comments
 (0)