Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Apr 18, 2024
1 parent 81f3b38 commit ca91cc4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions src/components/ContentCard/ContentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,8 @@ import {
import { Image } from 'expo-image';

import styles from './styles';
import {
addUserStoryToReadingList,
deleteUserStoryToReadingList,
isStoryInReadingList,
} from '../../queries/savedStories';
import globalStyles from '../../styles/globalStyles';
import { useSession } from '../../utils/AuthContext';
import Emoji from 'react-native-emoji';
import { useCallback, useEffect, useMemo, useState } from 'react';
import { usePubSub } from '../../utils/PubSubContext';
import SaveStoryButton from '../SaveStoryButton/SaveStoryButton';

type ContentCardProps = {
Expand Down
11 changes: 0 additions & 11 deletions src/components/PreviewCard/PreviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,10 @@ import { Image } from 'expo-image';

import styles from './styles';
import globalStyles from '../../styles/globalStyles';
import { useEffect, useState } from 'react';
import {
addUserStoryToReadingList,
deleteUserStoryToReadingList,
isStoryInReadingList,
} from '../../queries/savedStories';
import { useSession } from '../../utils/AuthContext';
import { useIsFocused } from '@react-navigation/native';
import { usePubSub } from '../../utils/PubSubContext';
import SaveStoryButton from '../SaveStoryButton/SaveStoryButton';

const placeholderImage =
'https://gwn-uploads.s3.amazonaws.com/wp-content/uploads/2021/10/10120952/Girls-Write-Now-logo-avatar.png';
const saveStoryImage = require('../../../assets/save_story.png');
const savedStoryImage = require('../../../assets/saved_story.png');

type PreviewCardProps = {
title: string;
Expand Down

0 comments on commit ca91cc4

Please sign in to comment.