Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/src/sandboxes/image-fade/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react'
import { useTransition, animated, config } from '@react-spring/web'
import { useTransition, animated } from '@react-spring/web'
import styles from './styles.module.css'

const slides = [
Expand Down
2 changes: 1 addition & 1 deletion demo/src/sandboxes/simple-three/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import './styles.css'

import { Canvas } from '@react-three/fiber'
import { useSpring, animated, Globals } from '@react-spring/three'
import { useSpring, animated } from '@react-spring/three'

export default function Thing() {
const { position } = useSpring({
Expand Down
1 change: 0 additions & 1 deletion packages/parallax/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ export const ParallaxLayer = React.memo(
}}
/>
)
return null
}
)
)
Expand Down
3 changes: 1 addition & 2 deletions targets/web/src/applyAnimatedValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export function applyAnimatedValues(instance: Instance, props: Lookup) {
for (let name in style) {
if (style.hasOwnProperty(name)) {
const value = dangerousStyleValue(name, style[name])
if (name === 'float') name = 'cssFloat'
else if (isCustomPropRE.test(name)) {
if (isCustomPropRE.test(name)) {
instance.style.setProperty(name, value)
} else {
instance.style[name] = value
Expand Down