refactor: remove unused SettingsStore from MintDiscovery

This commit is contained in:
Evan Kaloudis
2026-03-31 11:45:47 -04:00
parent 0de4fbc102
commit 2d15614119
+1 -3
View File
@@ -19,7 +19,6 @@ import Text from '../../components/Text';
import TextInput from '../../components/TextInput';
import CashuStore, { ScoredMint } from '../../stores/CashuStore';
import SettingsStore from '../../stores/SettingsStore';
import { localeString } from '../../utils/LocaleUtils';
import { themeColor } from '../../utils/ThemeUtils';
@@ -31,7 +30,6 @@ type DiscoverMode = 'zeus' | 'all' | 'custom' | 'later';
interface MintDiscoveryProps {
navigation: NativeStackNavigationProp<any, any>;
CashuStore: CashuStore;
SettingsStore: SettingsStore;
route: Route<
'MintDiscovery',
{
@@ -52,7 +50,7 @@ interface MintDiscoveryState {
reviewsMintUrl: string;
}
@inject('CashuStore', 'SettingsStore')
@inject('CashuStore')
@observer
export default class MintDiscovery extends React.Component<
MintDiscoveryProps,