Fix form keyboard issues and sticky footers in agent screens
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
|
||||
import { sleep } from '../../../utils/async';
|
||||
import type { InsurancePlan } from '../types';
|
||||
import { seedInsurancePlanCatalog } from '../services/insuranceApi';
|
||||
|
||||
export const seedInsurancePlans = createAsyncThunk<InsurancePlan[]>(
|
||||
'insurance/seedPlans',
|
||||
async () => {
|
||||
await sleep(140);
|
||||
return seedInsurancePlanCatalog();
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user