This commit is contained in:
andres
2023-05-26 22:06:57 +02:00
parent eacb1623ca
commit 47be10e445
6 changed files with 816 additions and 825 deletions

1
src/common/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from "./utils"

View File

@@ -0,0 +1,8 @@
import { createAsyncThunk } from "@reduxjs/toolkit"
import { AppDispatch, RootState } from "@/app/store"
export const createAppAsyncThunk = createAsyncThunk.withTypes<{
state: RootState
dispatch: AppDispatch
rejectValue: unknown
}>()

View File

@@ -0,0 +1 @@
export * from "./create-app-async-thunk"