Skip to content

Commit

Permalink
refactor: rename redux relevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanwww committed Aug 13, 2023
1 parent ce370cd commit 30072c8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/app-renderer/src/MainWindow/redux/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './use.app';
export * from './useDispatching';
export * from './useMainSelector';
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { useMainSelector } from './useMainSelector';
import { useMainSelector } from './useSelector';

export const useAppDetails = () => useMainSelector((state) => state.appDetails);
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { appAPI } from 'src/apis';

import { _actions } from '../actions';

import { createMainThunk } from './createMainThunk';
import { createMainThunk } from './createThunk';

export const prepareAppDetails = createMainThunk(async (dispatch) => {
const appDetails = await appAPI.getAppDetails();
Expand Down

0 comments on commit 30072c8

Please sign in to comment.