Skip to content

Commit

Permalink
chore: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timrbula committed Jul 1, 2022
1 parent 13dfb84 commit e7ca85b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"version": "3.7.0",
"private": true,
"homepage": "https://useboomerang.io",
"sideEffects": false,
"scripts": {
"analyze": "source-map-explorer server/build/static/js/*.js",
"analyze": "source-map-explorer build/static/js/*.js",
"build": "react-scripts build",
"build:rewriteAssetPaths": "cross-env APP_ROOT=/local node server/scripts/rewriteAssetPaths.js",
"postbuild": "ncp build server/build",
Expand Down
1 change: 0 additions & 1 deletion src/Features/Insights/CarbonLineChart/CarbonLineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ interface CarbonLineChartProps {

function CarbonLineChart(props: CarbonLineChartProps) {
const { data, title = "Line Chart" } = props;
console.log({ data });
return (
<LineChart
data={data}
Expand Down
10 changes: 5 additions & 5 deletions src/Features/Insights/__snapshots__/Insights.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ exports[`WorkflowInsights --- Snapshot Capturing Snapshot of WorkflowInsights 1`
class="itemValue"
style="width: 2rem;"
>
3
4
</p>
<p
class="itemLabel"
Expand All @@ -467,7 +467,7 @@ exports[`WorkflowInsights --- Snapshot Capturing Snapshot of WorkflowInsights 1`
<p
class="totalCount"
>
1 min 7 secs
1 min 7 secs
</p>
<p
class="type"
Expand All @@ -484,7 +484,7 @@ exports[`WorkflowInsights --- Snapshot Capturing Snapshot of WorkflowInsights 1`
class="itemValue"
style="width: 7rem;"
>
10 secs
10 secs
</p>
<p
class="itemLabel"
Expand All @@ -499,7 +499,7 @@ exports[`WorkflowInsights --- Snapshot Capturing Snapshot of WorkflowInsights 1`
class="itemValue"
style="width: 7rem;"
>
30 secs
30 secs
</p>
<p
class="itemLabel"
Expand All @@ -514,7 +514,7 @@ exports[`WorkflowInsights --- Snapshot Capturing Snapshot of WorkflowInsights 1`
class="itemValue"
style="width: 7rem;"
>
20 secs
23 secs
</p>
<p
class="itemLabel"
Expand Down
3 changes: 2 additions & 1 deletion src/Features/Insights/utils/formatData.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { sortBy, orderBy } from "lodash";
import sortBy from "lodash/sortBy";
import orderBy from "lodash/orderBy";
import { ExecutionStatusCopy } from "Constants";
import { timeSecondsToTimeUnit } from "Utils/timeSecondsToTimeUnit";
import { InsightsExecution } from "../Insights";
Expand Down

0 comments on commit e7ca85b

Please sign in to comment.