linter-is-sick
This commit is contained in:
parent
0c0084365d
commit
d370bc4fe4
|
@ -34,6 +34,7 @@ export const updateReaction = async (reaction: Reaction) => {
|
||||||
|
|
||||||
export const deleteReaction = async (reactionId: number) => {
|
export const deleteReaction = async (reactionId: number) => {
|
||||||
const resp = await apiClient.destroyReaction({ id: reactionId })
|
const resp = await apiClient.destroyReaction({ id: reactionId })
|
||||||
|
console.debug(resp)
|
||||||
return resp
|
return resp
|
||||||
}
|
}
|
||||||
export const useReactionsStore = (initialState: { reactions?: Reaction[] }) => {
|
export const useReactionsStore = (initialState: { reactions?: Reaction[] }) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user