Skip to content

Commit

Permalink
Remove class icon
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Aug 27, 2023
1 parent 397aba1 commit 279ce5b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/loadout-drawer/LoadoutDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function LoadoutDrawer({
return (...args: T) => setLoadout(fn(...args));
}

const store = getStore(stores, storeId)!;
const store = getStore(stores, storeId);

const onAddItem = useCallback(
(item: DimItem, equip?: boolean) => setLoadout(addItem(defs, item, equip)),
Expand Down
2 changes: 0 additions & 2 deletions src/app/loadout-drawer/LoadoutDrawerHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import ClassIcon from 'app/dim-ui/ClassIcon';
import { WithSymbolsPicker } from 'app/dim-ui/destiny-symbols/SymbolsPicker';
import { useAutocomplete } from 'app/dim-ui/text-complete/text-complete';
import { t } from 'app/i18next-t';
Expand Down Expand Up @@ -26,7 +25,6 @@ export default function LoadoutDrawerHeader({

return (
<div className={styles.loadoutName}>
<ClassIcon classType={loadout.classType} />
<WithSymbolsPicker className={styles.dimInput} input={inputRef} setValue={onNameChanged}>
<input
name="name"
Expand Down
1 change: 0 additions & 1 deletion src/app/loadout/Loadouts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ function Loadouts({ account }: { account: DestinyAccount }) {
<AlertIcon /> {t('Storage.DimSyncNotEnabled')}
</p>
)}
<h2>{t('Loadouts.InGameLoadouts')}</h2>
<InGameLoadoutStrip
store={selectedStore}
onEdit={setEditingInGameLoadout}
Expand Down

0 comments on commit 279ce5b

Please sign in to comment.