Skip to content

Commit

Permalink
add types and fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
u4aew committed Dec 30, 2023
1 parent 428c0e8 commit 055bad2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/cards/src/store/features/cards/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const initialState: SliceState = {
};

/**
* Получить информацию о картах
* Get list cards
*/
export const getCards = createAsyncThunk('modules/cards', async () => {
try {
Expand All @@ -37,7 +37,7 @@ export const getCards = createAsyncThunk('modules/cards', async () => {
});

/**
* Получить информацию о банковской карте
* Get details info
*/
export const getCardDetails = createAsyncThunk<
// Return type of the payload creator
Expand Down
2 changes: 1 addition & 1 deletion packages/host/src/store/features/common/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const initialState: SliceState = {
};

/**
* Получить информацию о пользователе
* Get user info
*/
export const getUserInfo = createAsyncThunk(
'host/user',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const initialState: SliceState = {
};

/**
* Получить информацию о транзакциях
* Get list transactions
*/
export const getTransactions = createAsyncThunk(
'modules/transactions',
Expand All @@ -39,7 +39,7 @@ export const getTransactions = createAsyncThunk(
);

/**
* Получить информацию о транзакциях
* Get details info about transaction
*/
export const getTransactionDetails = createAsyncThunk<
// Return type of the payload creator
Expand Down

0 comments on commit 055bad2

Please sign in to comment.