From 055bad2a074e6c043ab71674ad252ec0e1d63f48 Mon Sep 17 00:00:00 2001 From: Sergey Uchaev Date: Sat, 30 Dec 2023 12:57:48 +0300 Subject: [PATCH] add types and fix errors --- packages/cards/src/store/features/cards/slice.ts | 4 ++-- packages/host/src/store/features/common/slice.ts | 2 +- .../transactions/src/store/features/transactions/slice.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cards/src/store/features/cards/slice.ts b/packages/cards/src/store/features/cards/slice.ts index d5751a8..b3a7575 100644 --- a/packages/cards/src/store/features/cards/slice.ts +++ b/packages/cards/src/store/features/cards/slice.ts @@ -25,7 +25,7 @@ const initialState: SliceState = { }; /** - * Получить информацию о картах + * Get list cards */ export const getCards = createAsyncThunk('modules/cards', async () => { try { @@ -37,7 +37,7 @@ export const getCards = createAsyncThunk('modules/cards', async () => { }); /** - * Получить информацию о банковской карте + * Get details info */ export const getCardDetails = createAsyncThunk< // Return type of the payload creator diff --git a/packages/host/src/store/features/common/slice.ts b/packages/host/src/store/features/common/slice.ts index 986b531..1a9c456 100644 --- a/packages/host/src/store/features/common/slice.ts +++ b/packages/host/src/store/features/common/slice.ts @@ -23,7 +23,7 @@ const initialState: SliceState = { }; /** - * Получить информацию о пользователе + * Get user info */ export const getUserInfo = createAsyncThunk( 'host/user', diff --git a/packages/transactions/src/store/features/transactions/slice.ts b/packages/transactions/src/store/features/transactions/slice.ts index afc310b..7ee1e2b 100644 --- a/packages/transactions/src/store/features/transactions/slice.ts +++ b/packages/transactions/src/store/features/transactions/slice.ts @@ -24,7 +24,7 @@ const initialState: SliceState = { }; /** - * Получить информацию о транзакциях + * Get list transactions */ export const getTransactions = createAsyncThunk( 'modules/transactions', @@ -39,7 +39,7 @@ export const getTransactions = createAsyncThunk( ); /** - * Получить информацию о транзакциях + * Get details info about transaction */ export const getTransactionDetails = createAsyncThunk< // Return type of the payload creator