Skip to content

Commit

Permalink
chore: clean up import
Browse files Browse the repository at this point in the history
  • Loading branch information
r0b0t3d committed Jun 12, 2021
1 parent 0479d4d commit 561cd19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* https://github.com/facebook/react-native
*/

import React, { useCallback, useRef } from 'react';
import React, { useCallback } from 'react';
import {
StyleSheet,
View,
Expand All @@ -19,12 +19,10 @@ import {
ImageProps,
} from 'react-native';
import Carousel, {
CarouselHandles,
PaginationIndicator,
withCarouselContext,
useCarouselContext,
} from '@r0b0t3d/react-native-carousel';
import { useSharedValue } from 'react-native-reanimated';

type CarouselData = {
id: string;
Expand Down
3 changes: 1 addition & 2 deletions src/components/CarouselContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import React, {
useCallback,
useMemo,
useRef,
useState,
} from 'react';
import Animated, { useSharedValue } from 'react-native-reanimated';
import { useSharedValue } from 'react-native-reanimated';
import type { CarouselHandles } from 'src/types';
import { CarouselContext } from './useCarouselContext';
import { InternalCarouselContext } from './useInternalCarouselContext';
Expand Down

0 comments on commit 561cd19

Please sign in to comment.