Skip to content

Commit

Permalink
i am developer
Browse files Browse the repository at this point in the history
  • Loading branch information
akarras committed Feb 4, 2024
1 parent e061f38 commit edd9eca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ultros-frontend/ultros-app/src/routes/home_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub fn HomePage() -> impl IntoView {
</FeatureCard>
</a>
</div>
<Ad class="h-[50vh]" />
<Ad class="h-[50svh] w-full" />
</div>
</div>
</div>}
Expand Down
2 changes: 1 addition & 1 deletion ultros-frontend/ultros-app/src/routes/item_explorer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ pub fn ItemExplorer() -> impl IntoView {
<JobsList />
</div>
<div class="flex flex-col grow">
<Ad class="grow h-20" />
<Ad class="grow max-h-20" />
<h1 class="text-2xl">"Item Explorer"</h1>
<Outlet />
<Ad class="grow h-72" />
Expand Down
2 changes: 1 addition & 1 deletion ultros-frontend/ultros-app/src/routes/item_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ pub fn ItemView() -> impl IntoView {
</div>
<div class="main-content flex-wrap">
<ListingsContent item_id world />
<Ad class="h-96 min-w-96"/>
<Ad class="max-h-96 min-w-96"/>
<RelatedItems item_id=Signal::from(item_id) />
</div>
}
Expand Down
2 changes: 1 addition & 1 deletion ultros-frontend/ultros-app/src/routes/lists.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub fn Lists() -> impl IntoView {
>
<div class="container mx-auto flex flex-col xl:flex-row items-start">
<div class="flex flex-col grow">
<div class="grow w-full"><Ad class="h-20 w-full" /></div>
<div class="grow w-full"><Ad class="max-h-20 w-full" /></div>
<Outlet />
</div>
<div><Ad class="h-96 xl:h-[50svh] xl:w-32"/></div>
Expand Down
2 changes: 1 addition & 1 deletion ultros-frontend/ultros-app/src/routes/retainers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ pub fn Retainers() -> impl IntoView {
>
<div class="container mx-auto flex flex-col xl:flex-row items-start">
<div class="flex flex-col grow">
<div class="grow w-full"><Ad class="h-20 w-full" /></div>
<div class="grow w-full"><Ad class="max-h-20 w-full" /></div>
<Outlet />
</div>
<div><Ad class="h-96 xl:h-[50svh] xl:w-32"/></div>
Expand Down
5 changes: 1 addition & 4 deletions ultros/src/analyzer_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ impl SaleHistory {
where
&'a T: Into<SaleSummary> + Into<ItemKey>,
{
let entries = self
.item_map
.entry(sale.into())
.or_default();
let entries = self.item_map.entry(sale.into()).or_default();
let sale: SaleSummary = sale.into();
if entries.len() == SALE_HISTORY_SIZE {
let last_entry = entries.last().expect("We just checked len");
Expand Down

0 comments on commit edd9eca

Please sign in to comment.