Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsteinig committed Sep 13, 2024
1 parent 2e3019a commit 46ca428
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions air-quality-ui/src/components/globe/SurfaceLayer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useTexture } from '@react-three/drei'
import { gsap } from 'gsap'
import {
forwardRef,
Expand All @@ -7,7 +8,6 @@ import {
useRef, // Import useEffect
} from 'react'
import * as THREE from 'three'
import { useTexture } from '@react-three/drei';

import fragmentShader from './shaders/surfaceFrag.glsl'
import vertexShader from './shaders/surfaceVert.glsl'
Expand Down Expand Up @@ -45,9 +45,9 @@ const SurfaceLayer = memo(
({ isFilterNearest, isTimeInterpolation, selectedVariable }, ref) => {
const surface_layer_ref = useRef<PlaneType>(null)

const lsm = useTexture('/NaturalEarthCoastline2.jpg');
lsm.minFilter = THREE.NearestFilter;
lsm.magFilter = THREE.NearestFilter;
const lsm = useTexture('/NaturalEarthCoastline2.jpg')
lsm.minFilter = THREE.NearestFilter
lsm.magFilter = THREE.NearestFilter

const materialRef = useRef(
new THREE.ShaderMaterial({
Expand Down

0 comments on commit 46ca428

Please sign in to comment.