@postxl/generator 0.15.3 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -182,7 +182,7 @@ export const ${components.modals.editComponentName} = ({
|
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
async onSuccess() {
|
|
185
|
-
await cache.${trpc.
|
|
185
|
+
await cache.${trpc.routerName}.invalidate()
|
|
186
186
|
},
|
|
187
187
|
},
|
|
188
188
|
),
|
|
@@ -260,7 +260,7 @@ export const ${components.modals.deleteComponentName} = ({
|
|
|
260
260
|
await toast.promise(
|
|
261
261
|
mutation.mutateAsync(id, {
|
|
262
262
|
async onSuccess() {
|
|
263
|
-
await cache.${trpc.
|
|
263
|
+
await cache.${trpc.routerName}.invalidate()
|
|
264
264
|
},
|
|
265
265
|
}),
|
|
266
266
|
{
|