mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 23:30:32 +00:00
re-structure to monorepo.
This commit is contained in:
18
packages/webapp/src/store/accounts/accounts.actions.tsx
Normal file
18
packages/webapp/src/store/accounts/accounts.actions.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
// @ts-nocheck
|
||||
import t from '@/store/types';
|
||||
|
||||
export const setAccountsTableState = (queries) => {
|
||||
return {
|
||||
type: t.ACCOUNTS_TABLE_STATE_SET,
|
||||
payload: { queries },
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Resets the accounts table state.
|
||||
*/
|
||||
export const resetAccountsTableState = () => {
|
||||
return {
|
||||
type: t.ACCOUNTS_TABLE_STATE_RESET,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user