mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-28 03:42:01 +08:00
resolves conflicts
This commit is contained in:
parent
2bc01e50bd
commit
c6e2e297d5
@ -3,7 +3,6 @@ import ROUTES from "Src/constants/routes";
|
||||
export const getLocalStorageRouteKey = (pathName: string) => {
|
||||
let localStorageKey = "";
|
||||
const pathNameSplit = pathName.split("/");
|
||||
console.log("pathName", pathName);
|
||||
if (!pathNameSplit[2]) {
|
||||
localStorageKey = pathName;
|
||||
} else {
|
||||
|
@ -10,8 +10,7 @@ import {
|
||||
import { Spin } from "antd";
|
||||
import styled from "styled-components";
|
||||
import { StoreState } from "../../store/reducers";
|
||||
import { getZoomPx, getGraphData } from "./utils";
|
||||
import { getGraphData, getTooltip } from "./utils";
|
||||
import { getZoomPx, getGraphData, getTooltip } from "./utils";
|
||||
import SelectService from "./SelectService";
|
||||
import { ForceGraph2D } from "react-force-graph";
|
||||
|
||||
|
@ -83,6 +83,7 @@ export const getZoomPx = (): number => {
|
||||
} else if (width > 2500) {
|
||||
return 360;
|
||||
}
|
||||
};
|
||||
|
||||
export const getTooltip = (node: {
|
||||
p99: number;
|
||||
@ -105,5 +106,4 @@ export const getTooltip = (node: {
|
||||
<div class="val">${node.errorRate}%</div>
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user