diff --git a/static/js/shop/Backlog.jsx b/static/js/shop/Backlog.jsx index b96e59c..7bc440f 100644 --- a/static/js/shop/Backlog.jsx +++ b/static/js/shop/Backlog.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import {v4 as uuidv4} from "uuid"; import {Droppable} from "@hello-pangea/dnd"; import {ProductItem} from "./ProductItem"; import {useShopStore} from "./shop_store"; @@ -42,7 +41,7 @@ export function Backlog() { {group.items.map(item => { item_index++; return ( - + ) })} diff --git a/static/js/shop/Cart.jsx b/static/js/shop/Cart.jsx index 77c78c3..2baae64 100644 --- a/static/js/shop/Cart.jsx +++ b/static/js/shop/Cart.jsx @@ -4,7 +4,7 @@ import {cartStyle} from "./utils"; import {ProductCartItem} from "./ProductCartItem"; import {FakePlaceholder} from "./FakePlaceholder"; import {FillExtData} from "./options/utils"; -import {hp_to_slots, resource_counters} from "./count_resources"; +import {hp_to_slots} from "./count_resources"; import {useShopStore} from "./shop_store"; /** diff --git a/static/js/shop/Crate.jsx b/static/js/shop/Crate.jsx index 4c74d92..e5f8a37 100644 --- a/static/js/shop/Crate.jsx +++ b/static/js/shop/Crate.jsx @@ -3,7 +3,6 @@ import {Cart} from "./Cart"; import {CrateMode} from "./CrateMode"; import {CrateWarnings} from "./CrateWarnings"; import {useShopStore} from "./shop_store"; -import {TriggerCrateWarnings} from "./warnings"; /** * Component that displays the main crate with reminder rules. diff --git a/static/js/shop/CrateList.jsx b/static/js/shop/CrateList.jsx index c4f9a21..04e49b6 100644 --- a/static/js/shop/CrateList.jsx +++ b/static/js/shop/CrateList.jsx @@ -26,11 +26,9 @@ export function CrateList() { )} - + Add new crate - + add ) diff --git a/static/js/shop/ImportJSON.jsx b/static/js/shop/ImportJSON.jsx index 2dc0d9c..3592f74 100644 --- a/static/js/shop/ImportJSON.jsx +++ b/static/js/shop/ImportJSON.jsx @@ -44,7 +44,6 @@ export function ImportJSON() {