Skip to content

Commit

Permalink
clen
Browse files Browse the repository at this point in the history
  • Loading branch information
nautsimon committed May 18, 2023
1 parent 1183f33 commit 8902a58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/explorer-ui/components/Chart/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numeral from 'numeral'

export function Chart({ data }) {
export const Chart = ({ data }) => {
if (data) {
const numbers = normalize(data)
return (
Expand All @@ -19,7 +19,7 @@ export function Chart({ data }) {
)
}
}
function BarMaker({ value, height, date }) {
const BarMaker = ({ value, height, date }) => {
const h = `h-[${height}px]`
const showValue = numeral(value).format('0,0')

Expand All @@ -38,7 +38,7 @@ function BarMaker({ value, height, date }) {
)
}

export function ChartLoading() {
export const ChartLoading = () => {
return (
<div className="flex flex-col items-center w-full pb-6 rounded-lg shadow-xl sm:p-8">
<div className="flex items-end flex-grow w-full mt-2 content-between">
Expand Down
1 change: 0 additions & 1 deletion packages/explorer-ui/graphql/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export const API_URL = 'https://explorer.omnirpc.io/graphql'
// export const API_URL = 'http://localhost:8000/graphql'

0 comments on commit 8902a58

Please sign in to comment.