Skip to content

Commit 92b1c2b

Browse files
committed
chore: run format
1 parent b5b0e35 commit 92b1c2b

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

src/lib/components/market/helpers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export function inlineStickersAndKeychains(itemNameBlock: JQuery<Element>, itemI
111111
itemNameBlock.parent().find('.market_listing_row_action')?.parent().remove();
112112
// Remove Steam's stickers and keychains
113113
itemNameBlock.parent().find('.market_listing_row_details')?.remove();
114-
115114

116115
if (itemNameBlock.find('.csfloat-stickers-container').length) {
117116
// Don't inline stickers if they're already inlined
@@ -147,4 +146,3 @@ export function inlineEasyInspect(itemImgContainer: JQuery<Element>, inspectLink
147146
<a class="csfloat-easy-inspect" href="${inspectLink}">🔍</a>
148147
`);
149148
}
150-

src/lib/components/market/item_row_wrapper.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,12 @@ export class ItemRowWrapper extends FloatElement {
141141
MarketCheckHash();
142142
}
143143

144-
145144
// Make sure the parent containers can overflow
146145
const parentContainer = $J(this).parent();
147146
if (parentContainer) {
148147
parentContainer.css('overflow', 'visible');
149148
parentContainer.parent().css('overflow', 'visible');
150149
}
151-
152150
}
153151

154152
render() {
@@ -170,7 +168,9 @@ export class ItemRowWrapper extends FloatElement {
170168
return html`
171169
<div class="float-row-wrapper">
172170
${this.renderFloatBar()}
173-
<span style="display: block;"> Float: ${this.itemInfo.floatvalue.toFixed(14)} ${renderClickableRank(this.itemInfo)} </span>
171+
<span style="display: block;">
172+
Float: ${this.itemInfo.floatvalue.toFixed(14)} ${renderClickableRank(this.itemInfo)}
173+
</span>
174174
Paint Seed:
175175
${formatSeed(this.itemInfo)}${fadePercentage !== undefined
176176
? html`<br />

src/lib/types/steam.d.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export type SteamAssets = {
223223
[appId in AppId]: {
224224
[contextId in ContextId]: {[assetId: string]: rgAsset};
225225
};
226-
}
226+
};
227227

228228
// Declares globals available in the Steam Page Context
229229
declare global {
@@ -252,7 +252,14 @@ declare global {
252252
const MoveItemToTrade: (el: HTMLElement) => void; // Only populated on create offer pages
253253
const g_rgCurrentTradeStatus: CurrentTradeStatus;
254254
const ShowItemInventory: (appID: AppId, contextID: ContextId, AssetID?: number) => void;
255-
const CreateItemHoverFromContainer: (g_rgAssets: SteamAssets, elementId: string, appid: AppId, contextid: string, id: string, amount: number) => void;
255+
const CreateItemHoverFromContainer: (
256+
g_rgAssets: SteamAssets,
257+
elementId: string,
258+
appid: AppId,
259+
contextid: string,
260+
id: string,
261+
amount: number
262+
) => void;
256263
}
257264

258265
export {};

0 commit comments

Comments
 (0)