Skip to content

Commit

Permalink
fix(gui): prevent client image history from accumulating indefinitely
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 19, 2023
1 parent 50fe17b commit df7bba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/state.ts
Expand Up @@ -193,7 +193,7 @@ export function createStateSlices(base: ServerParams) {
history: [
image,
...prev.history,
],
].slice(0, prev.limit),
loading: null,
}));
},
Expand Down

0 comments on commit df7bba4

Please sign in to comment.