Skip to content

Commit e4447d3

Browse files
ci: apply automated fixes
1 parent 24465b2 commit e4447d3

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

src/routes/admin/banners.$id.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ function BannerEditorPage() {
8888
</div>
8989
}
9090
>
91-
<BannerEditor
92-
banner={isNew ? null : (bannerQuery.data as BannerWithMeta)}
93-
onSave={() => navigate({ to: '/admin/banners' })}
94-
onCancel={() => navigate({ to: '/admin/banners' })}
95-
/>
91+
<BannerEditor
92+
banner={isNew ? null : (bannerQuery.data as BannerWithMeta)}
93+
onSave={() => navigate({ to: '/admin/banners' })}
94+
onCancel={() => navigate({ to: '/admin/banners' })}
95+
/>
9696
</Suspense>
9797
</div>
9898
</div>

src/routes/admin/feed.$id.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,15 @@ function FeedEditorPage() {
8787
</div>
8888
}
8989
>
90-
<FeedEntryEditor
91-
entry={
92-
isNew ? null : ((entryQuery.data as FeedEntry | undefined) ?? null)
93-
}
94-
onSave={() => navigate({ to: '/admin/feed' })}
95-
onCancel={() => navigate({ to: '/admin/feed' })}
96-
/>
90+
<FeedEntryEditor
91+
entry={
92+
isNew
93+
? null
94+
: ((entryQuery.data as FeedEntry | undefined) ?? null)
95+
}
96+
onSave={() => navigate({ to: '/admin/feed' })}
97+
onCancel={() => navigate({ to: '/admin/feed' })}
98+
/>
9799
</Suspense>
98100
</div>
99101
</div>

0 commit comments

Comments
 (0)