Skip to content

Commit

Permalink
chore: Remove unused packages (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
muhsin-k authored Jan 24, 2025
1 parent 74ab727 commit fea8cf8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 57 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017-2021 Chatwoot Inc.
Copyright (c) 2017-2025 Chatwoot Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
"expo-web-browser": "~13.0.3",
"i18n-js": "^3.8.0",
"lodash": "^4.17.21",
"lodash.groupby": "^4.6.0",
"moment": "^2.30.1",
"react": "18.2.0",
"react-hook-form": "^7.52.1",
"react-native": "0.74.5",
Expand All @@ -92,11 +90,9 @@
"react-native-screens": "^3.32.0",
"react-native-snackbar": "^2.6.2",
"react-native-svg": "^15.4.0",
"react-native-track-player": "^4.1.1",
"react-native-webview": "^13.8.6",
"react-redux": "^8.1.2",
"reactotron-redux": "^3.1.10",
"redux": "^4.2.1",
"redux-persist": "^6.0.0",
"rn-fetch-blob": "^0.12.0",
"semver": "^7.6.3",
Expand Down
40 changes: 0 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions src/screens/chat-screen/ChatScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useEffect } from 'react';
import PagerView, { PagerViewOnPageSelectedEvent } from 'react-native-pager-view';
import Animated from 'react-native-reanimated';
import { SafeAreaView } from 'react-native-safe-area-context';
import TrackPlayer from 'react-native-track-player';
import { LightBoxProvider } from '@alantoa/lightbox';
import { NativeStackScreenProps } from '@react-navigation/native-stack';

Expand Down Expand Up @@ -126,17 +125,6 @@ const ChatScreen = (props: ChatScreenProps) => {
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

useEffect(() => {
const setUpTrackPlayer = () => {
TrackPlayer.setupPlayer()
.then(() => {})
.catch(() => {
// Handle setting up player error
});
};
setUpTrackPlayer();
});

const handleBackPress = () => {
if (navigation.canGoBack()) {
navigation.dispatch(StackActions.pop());
Expand Down

0 comments on commit fea8cf8

Please sign in to comment.