bokuweb/tsukiakari

View on GitHub
src/renderer/src/sagas/selector.js

Summary

Maintainability
A
0 mins
Test Coverage
/* @flow */
import type { State } from 'redux';
import type { Account } from '../../../types/account';

export const getFirstAccount = (state: State): Account => state.accounts.accounts[0];

export const getFilterQueries = (state: State): Array<string> => state.tweets.filterQueries;