mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 14:02:22 +08:00

* some fixes * some more fixes * some canvas fixes * use removeProperty instead * few more * fixy fix * undo changes to ticks for now
10 lines
236 B
TypeScript
10 lines
236 B
TypeScript
import { locationService } from '@grafana/runtime';
|
|
|
|
export const useHistory = () => {
|
|
return {
|
|
push: ({ query }: { query: Parameters<typeof locationService.partial>[0] }) => {
|
|
locationService.partial(query);
|
|
},
|
|
};
|
|
};
|