mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Try without memo
This commit is contained in:
@ -440,8 +440,8 @@ const useTimelineMutation = ({
|
||||
...(onMutate && {
|
||||
onMutate: params => {
|
||||
queryClient.cancelQueries(params.queryKey)
|
||||
let oldData
|
||||
params.queryKey && (oldData = queryClient.getQueryData(params.queryKey))
|
||||
const oldData =
|
||||
params.queryKey && queryClient.getQueryData(params.queryKey)
|
||||
|
||||
haptics('Light')
|
||||
switch (params.type) {
|
||||
|
Reference in New Issue
Block a user