Skip to content

Commit

Permalink
Merge pull request #528 from k-grube/react
Browse files Browse the repository at this point in the history
Add baseApi
  • Loading branch information
KelvinTegelaar authored Jan 6, 2022
2 parents fb8ccb6 + ff19fe4 commit 4d720ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/store/api/baseApi.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { createApi } from '@reduxjs/toolkit/query/react'
import { baseQuery } from './baseQuery'

export const baseApi = createApi({
reducerPath: 'api',
baseQuery: baseQuery(),
endpoints: () => ({}),
})

0 comments on commit 4d720ff

Please sign in to comment.