fix(Dial/nui): rename functions

This commit is contained in:
Christopher committed 2021-01-31 21:49:11 +01:00
1 parent c7b185014d
commit f4b77d9f51
5 files changed
+13 -13

No files matched your search

@@ -1,11 +1,11 @@
import { useRecoilValue } from 'recoil';
import { ICall } from '../../../common/typings/call';
import { dailerState } from './state';
import { dialState } from './state';
interface ICallUI {
history: ICall[]
}
export const useDailHistory = (): ICallUI => {
const history = useRecoilValue(dailerState.history);
export const useDialHistory = (): ICallUI => {
const history = useRecoilValue(dialState.history);
return history;
};