mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Lens] Remove misleading comment (#157020)
## Summary This middleware was clearly copied from `optimizing_middleware.ts` along with a comment. The comment does not apply to the fullscreen middleware. Removing to avoid confusion.
This commit is contained in:
parent
1a3343dc82
commit
3d77c054c7
1 changed files with 0 additions and 1 deletions
|
@ -9,7 +9,6 @@ import { Dispatch, MiddlewareAPI, Action } from '@reduxjs/toolkit';
|
|||
import { LensGetState, LensStoreDeps } from '.';
|
||||
import { setToggleFullscreen } from './lens_slice';
|
||||
|
||||
/** cancels updates to the store that don't change the state */
|
||||
export const fullscreenMiddleware = (storeDeps: LensStoreDeps) => (store: MiddlewareAPI) => {
|
||||
return (next: Dispatch) => (action: Action) => {
|
||||
if (setToggleFullscreen.match(action)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue