File size: 305 Bytes
0c20ea8
 
 
 
 
 
1
2
3
4
5
6
7
import { createAction } from "@reduxjs/toolkit";
import { Poi } from "../types/Poi";

export const fetchPoiRequest = createAction("poi/fetchPoiRequest");
export const fetchPoiSuccess = createAction<Poi[]>("poi/fetchPoiSuccess");
export const fetchPoiFailure = createAction<string>("poi/fetchPoiFailure");