Skip to content

Commit

Permalink
also fix history deprecation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <[email protected]>
  • Loading branch information
Anton Gilgur committed Aug 22, 2024
1 parent 73faf46 commit 5132972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stories/page.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createHistory from 'history/createBrowserHistory';
import { createBrowserHistory } from 'history';
import * as React from 'react';
import { Route, Router } from 'react-router';
import { timer } from 'rxjs';
Expand Down Expand Up @@ -45,7 +45,7 @@ const actionMenu = {
}],
};

const history = createHistory();
const history = createBrowserHistory();

function ensureSelected(vals: string[], selected: string[]): string[] {
const res = new Set(selected);
Expand Down

0 comments on commit 5132972

Please sign in to comment.