Skip to content

Instantly share code, notes, and snippets.

import { useEffect, useState } from 'react';
import { useLazyQuery, useMutation, useQuery } from '@apollo/client';
import { useParams } from 'react-router-dom';
import {
Alert,
Card,
Button,
Flex,
Form,
Select,
let findVisibleTrees = (treeHeights) => {
let inputRows = treeHeights
.trim()
.split('\n')
.map(row => row.split(''));
let grid = inputRows.map(row => {
return row.map(height => parseInt(height));
});
SHOW_ONLY_MODELS="ps5 console"
SHOW_ONLY_SERIES="sonyps5c"
STORES="amazon, bestbuy, newegg, gamestop, target, walmart, playstation"