Skip to content

Commit 561cd19

Browse files
committed
chore: clean up import
1 parent 0479d4d commit 561cd19

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

example/src/App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* https://github.com/facebook/react-native
99
*/
1010

11-
import React, { useCallback, useRef } from 'react';
11+
import React, { useCallback } from 'react';
1212
import {
1313
StyleSheet,
1414
View,
@@ -19,12 +19,10 @@ import {
1919
ImageProps,
2020
} from 'react-native';
2121
import Carousel, {
22-
CarouselHandles,
2322
PaginationIndicator,
2423
withCarouselContext,
2524
useCarouselContext,
2625
} from '@r0b0t3d/react-native-carousel';
27-
import { useSharedValue } from 'react-native-reanimated';
2826

2927
type CarouselData = {
3028
id: string;

src/components/CarouselContainer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import React, {
44
useCallback,
55
useMemo,
66
useRef,
7-
useState,
87
} from 'react';
9-
import Animated, { useSharedValue } from 'react-native-reanimated';
8+
import { useSharedValue } from 'react-native-reanimated';
109
import type { CarouselHandles } from 'src/types';
1110
import { CarouselContext } from './useCarouselContext';
1211
import { InternalCarouselContext } from './useInternalCarouselContext';

0 commit comments

Comments
 (0)