chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer (#17785)
* chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix formatting Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
parent
b8c251c6c0
commit
e440d00ba0
|
@ -40,7 +40,7 @@
|
|||
"cross-fetch": "^3.1.4",
|
||||
"humanize-duration-ts": "^2.1.1",
|
||||
"node-sass": "^5.0.0",
|
||||
"prettier": "^2.3.0",
|
||||
"prettier": "^2.3.1",
|
||||
"react": "^17.0.2",
|
||||
"react-chartjs-2": "^2.11.2",
|
||||
"react-countup": "^4.3.3",
|
||||
|
@ -18573,9 +18573,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
|
||||
"integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==",
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
|
||||
"integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==",
|
||||
"bin": {
|
||||
"prettier": "bin-prettier.js"
|
||||
},
|
||||
|
@ -39868,9 +39868,9 @@
|
|||
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
|
||||
},
|
||||
"prettier": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
|
||||
"integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w=="
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
|
||||
"integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA=="
|
||||
},
|
||||
"pretty-bytes": {
|
||||
"version": "5.6.0",
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"cross-fetch": "^3.1.4",
|
||||
"humanize-duration-ts": "^2.1.1",
|
||||
"node-sass": "^5.0.0",
|
||||
"prettier": "^2.3.0",
|
||||
"prettier": "^2.3.1",
|
||||
"react": "^17.0.2",
|
||||
"react-chartjs-2": "^2.11.2",
|
||||
"react-countup": "^4.3.3",
|
||||
|
|
|
@ -46,8 +46,9 @@ function reconcile(
|
|||
}
|
||||
|
||||
export const StateContext = React.createContext<State | undefined>(undefined);
|
||||
export const DispatchContext =
|
||||
React.createContext<Dispatch | undefined>(undefined);
|
||||
export const DispatchContext = React.createContext<Dispatch | undefined>(
|
||||
undefined
|
||||
);
|
||||
|
||||
type RewardsProviderProps = { children: React.ReactNode };
|
||||
|
||||
|
|
|
@ -119,8 +119,9 @@ function parseQuery(query: URLSearchParams): Cluster {
|
|||
}
|
||||
|
||||
type SetShowModal = React.Dispatch<React.SetStateAction<boolean>>;
|
||||
const ModalContext =
|
||||
React.createContext<[boolean, SetShowModal] | undefined>(undefined);
|
||||
const ModalContext = React.createContext<[boolean, SetShowModal] | undefined>(
|
||||
undefined
|
||||
);
|
||||
const StateContext = React.createContext<State | undefined>(undefined);
|
||||
const DispatchContext = React.createContext<Dispatch | undefined>(undefined);
|
||||
|
||||
|
|
|
@ -53,8 +53,7 @@ const initialDashboardInfo: DashboardInfo = {
|
|||
};
|
||||
|
||||
type SetActive = React.Dispatch<React.SetStateAction<boolean>>;
|
||||
const StatsProviderContext =
|
||||
React.createContext<
|
||||
const StatsProviderContext = React.createContext<
|
||||
| {
|
||||
setActive: SetActive;
|
||||
setTimedOut: Function;
|
||||
|
@ -62,15 +61,17 @@ const StatsProviderContext =
|
|||
active: boolean;
|
||||
}
|
||||
| undefined
|
||||
>(undefined);
|
||||
>(undefined);
|
||||
|
||||
type DashboardState = { info: DashboardInfo };
|
||||
const DashboardContext =
|
||||
React.createContext<DashboardState | undefined>(undefined);
|
||||
const DashboardContext = React.createContext<DashboardState | undefined>(
|
||||
undefined
|
||||
);
|
||||
|
||||
type PerformanceState = { info: PerformanceInfo };
|
||||
const PerformanceContext =
|
||||
React.createContext<PerformanceState | undefined>(undefined);
|
||||
const PerformanceContext = React.createContext<PerformanceState | undefined>(
|
||||
undefined
|
||||
);
|
||||
|
||||
type Props = { children: React.ReactNode };
|
||||
export function SolanaClusterStatsProvider({ children }: Props) {
|
||||
|
|
|
@ -19,8 +19,9 @@ type State = Cache.State<Details>;
|
|||
type Dispatch = Cache.Dispatch<Details>;
|
||||
|
||||
export const StateContext = React.createContext<State | undefined>(undefined);
|
||||
export const DispatchContext =
|
||||
React.createContext<Dispatch | undefined>(undefined);
|
||||
export const DispatchContext = React.createContext<Dispatch | undefined>(
|
||||
undefined
|
||||
);
|
||||
|
||||
type DetailsProviderProps = { children: React.ReactNode };
|
||||
export function DetailsProvider({ children }: DetailsProviderProps) {
|
||||
|
|
Loading…
Reference in New Issue