Co-authored-by: Steve Dudenhoeffer <[email protected]>
This commit was merged in pull request #63.
This commit is contained in:
@@ -69,7 +69,11 @@ export function toEditorObject(o: ServerObject): EditorObject {
|
||||
}
|
||||
}
|
||||
|
||||
const fullKey = (gardenId: number) => ['garden-full', gardenId] as const
|
||||
// Exported so anything that changes a garden's contents from outside this file
|
||||
// — undo, in particular — can invalidate the editor payload and make the canvas
|
||||
// redraw.
|
||||
export const gardenFullKey = (gardenId: number) => ['garden-full', gardenId] as const
|
||||
const fullKey = gardenFullKey
|
||||
|
||||
export function gardenFullQueryOptions(gardenId: number) {
|
||||
return queryOptions({
|
||||
|
||||
Reference in New Issue
Block a user