Skip to content

Commit

Permalink
fix: update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ttiimmothy committed Dec 4, 2023
1 parent 0613615 commit 7e4e4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redux/restaurant/restaurantSlice.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import {
CreateRestaurantType,
CreateRestaurantDto,
Restaurant,
} from "../../api/restaurant/RestaurantType";
import {
Expand Down Expand Up @@ -51,7 +51,7 @@ export const getRestaurantThunk = createAsyncThunk(

export const createRestaurantThunk = createAsyncThunk(
"restaurant/create",
async (restaurant: CreateRestaurantType) => {
async (restaurant: CreateRestaurantDto) => {
const response = await createRestaurant(restaurant);
return response;
}
Expand Down

0 comments on commit 7e4e4c5

Please sign in to comment.