Skip to content

Commit 1d93ddf

Browse files
authored
Merge pull request #90 from chrisweb/preview
Preview to main
2 parents dae8789 + bd5ed64 commit 1d93ddf

File tree

5 files changed

+314
-234
lines changed

5 files changed

+314
-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[]>([])

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import stylisticPlugin from '@stylistic/eslint-plugin'
99
import * as mdxPlugin from 'eslint-plugin-mdx'
1010
import reactCompilerPlugin from 'eslint-plugin-react-compiler'
1111

12+
// currently an mts file until I find types
13+
// for all imported packages
14+
1215
const eslintConfig = [
1316
{
1417
name: 'custom/eslint/recommended',

0 commit comments

Comments
 (0)