delete-shout-fix-2
This commit is contained in:
parent
0a9b70bfb7
commit
5e5291d7e8
|
@ -218,10 +218,10 @@ export const EditorProvider = (props: { children: JSX.Element }) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const deleteShout = async (shoutId: number) => {
|
const deleteShout = async (shout_id: number) => {
|
||||||
try {
|
try {
|
||||||
await apiClient.deleteShout({
|
await apiClient.deleteShout({
|
||||||
shoutId,
|
shout_id,
|
||||||
})
|
})
|
||||||
return true
|
return true
|
||||||
} catch {
|
} catch {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user