File tree Expand file tree Collapse file tree
DimensionsMetricsExplorer
pages/ga4/enhanced-ecommerce/products Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import * as React from "react"
22import { TextField } from "@mui/material"
3- import clsx from "classnames"
43import { Dispatch } from "../types"
54import Autocomplete from "@mui/material/Autocomplete"
65
Original file line number Diff line number Diff line change 11import * as React from "react"
22import { TextField } from "@mui/material"
3- import clsx from "classnames"
43import { Dispatch } from "../types"
54import Autocomplete from "@mui/material/Autocomplete"
65
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import Typography from "@mui/material/Typography"
77
88import InlineCode from "@/components/InlineCode"
99import { CopyIconButton } from "@/components/CopyButton"
10- import ExternalLink from "@/components/ExternalLink"
1110import { Dimension , Metric } from "./useDimensionsAndMetrics"
1211import { QueryParam } from "."
1312import { AccountSummary , PropertySummary } from "@/types/ga4/StreamPicker"
Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ export const StoreProvider = (props: Props) => {
140140 const [ cart , setCart ] = React . useState ( defaultValues . cart )
141141 const [ lastCart , setLastCart ] = React . useState ( defaultValues . lastCart )
142142
143+ // TODO: Implement checkout flow, which will use setCheckoutState.
144+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
143145 const [ checkoutState , setCheckoutState ] = React . useState ( defaultValues . checkoutState )
144146 const [ events , setEvents ] = React . useState ( defaultValues . events )
145147
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const Parameters: React.FC<Props> = ({
5454 removeParam,
5555 addItemsParam,
5656 removeItem,
57- allowTimestampOverride : allowTimestampOverride ,
57+ allowTimestampOverride,
5858} ) => {
5959 const showAdvanced = React . useContext ( ShowAdvancedCtx )
6060
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ export default (props: PageProps<Props>) => {
4343 image,
4444 } = props . data . productsJson
4545 const initialVariant = 'M'
46+ // TODO: Implement variant selection functionality, which will use setVariant.
47+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
4648 const [ variant , setVariant ] = React . useState ( initialVariant )
4749 const productVariant = variant ;
4850 const [ quantity , setQuantity ] = React . useState ( 1 )
You can’t perform that action at this time.
0 commit comments