File tree Expand file tree Collapse file tree
components/data/GTMProvider Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,9 +141,7 @@ export const GTMProvider: React.FC<GTMProviderProps> = ({
141141 } )
142142 ) . line_items ?. filter ( ( line_item ) => {
143143 return (
144- line_item . item_type === "skus" ||
145- line_item . item_type === "gift_cards" ||
146- line_item . item_type === "adjustments"
144+ line_item . item_type === "skus" || line_item . item_type === "gift_cards"
147145 )
148146 } )
149147
@@ -223,9 +221,7 @@ export const GTMProvider: React.FC<GTMProviderProps> = ({
223221 } )
224222 ) . line_items ?. filter ( ( line_item ) => {
225223 return (
226- line_item . item_type === "skus" ||
227- line_item . item_type === "gift_cards" ||
228- line_item . item_type === "adjustments"
224+ line_item . item_type === "skus" || line_item . item_type === "gift_cards"
229225 )
230226 } )
231227
@@ -262,9 +258,7 @@ export const GTMProvider: React.FC<GTMProviderProps> = ({
262258 } )
263259 ) . line_items ?. filter ( ( line_item ) => {
264260 return (
265- line_item . item_type === "skus" ||
266- line_item . item_type === "gift_cards" ||
267- line_item . item_type === "adjustments"
261+ line_item . item_type === "skus" || line_item . item_type === "gift_cards"
268262 )
269263 } )
270264
You can’t perform that action at this time.
0 commit comments