Skip to content

Commit 450aed9

Browse files
committed
Fix linter issue
1 parent ae53b11 commit 450aed9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function App() {
2828

2929
return (
3030
<>
31-
<Starfield onSkyboxLoaded={handleSkyboxLoaded} uiVisible={uiVisible} />
31+
<Starfield onSkyboxLoaded={handleSkyboxLoaded} />
3232
{!isStarsPage && (
3333
<div
3434
style={{

src/components/Starfield.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from 'react';
22
import PropTypes from 'prop-types';
33
import * as THREE from 'three';
44

5-
const Starfield = ({ onSkyboxLoaded = () => { }, uiVisible = false, disableScrollMotion = false }) => {
5+
const Starfield = ({ onSkyboxLoaded = () => { }, disableScrollMotion = false }) => {
66
// Three.js scene references
77
const mountRef = useRef(null);
88
const sceneRef = useRef(null);
@@ -493,7 +493,6 @@ const Starfield = ({ onSkyboxLoaded = () => { }, uiVisible = false, disableScrol
493493
// PropTypes validation
494494
Starfield.propTypes = {
495495
onSkyboxLoaded: PropTypes.func,
496-
uiVisible: PropTypes.bool,
497496
disableScrollMotion: PropTypes.bool
498497
};
499498

0 commit comments

Comments
 (0)