The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Convert AccountApp to TypeScript (#69077)
Frasere27825b087e7
diff --git a/frontend/src/metabase/account/app/containers/AccountApp/AccountApp.jsx b/frontend/src/metabase/account/app/containers/AccountApp/AccountApp.tsxsimilarity index 70%rename from frontend/src/metabase/account/app/containers/AccountApp/AccountApp.jsxrename to frontend/src/metabase/account/app/containers/AccountApp/AccountApp.tsxindex 5048dbca82f..2831e23b3c2 100644--- a/frontend/src/metabase/account/app/containers/AccountApp/AccountApp.jsx+++ b/frontend/src/metabase/account/app/containers/AccountApp/AccountApp.tsx@@ -1,11 +1,17 @@+import type { Location } from "history";import { push } from "react-router-redux";import { connect } from "metabase/lib/redux";import { getUser } from "metabase/selectors/user";+import type { State } from "metabase-types/store";import AccountLayout from "../../components/AccountLayout";-const mapStateToProps = (state, props) => ({+interface OwnProps {+ location: Location;+}++const mapStateToProps = (state: State, props: OwnProps) => ({user: getUser(state),path: props.location.pathname,});