This commit is contained in:
parent
e9c80143ff
commit
17aa622da8
@ -32,11 +32,10 @@ export default function RootLayout({
|
|||||||
<body className={font.className}>
|
<body className={font.className}>
|
||||||
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
||||||
<Image
|
<Image
|
||||||
|
className="object-fill object-center"
|
||||||
alt="Background image"
|
alt="Background image"
|
||||||
src={"/assets/background.webp"}
|
src={"/assets/background.webp"}
|
||||||
layout="fill"
|
fill
|
||||||
objectFit="cover"
|
|
||||||
objectPosition="center"
|
|
||||||
quality={100}
|
quality={100}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -58,7 +58,6 @@ export default function Player({ params }: { params: { id: string } }) {
|
|||||||
let sortType: SortType;
|
let sortType: SortType;
|
||||||
const sortTypeString = searchParams.get("sort");
|
const sortTypeString = searchParams.get("sort");
|
||||||
if (sortTypeString == null) {
|
if (sortTypeString == null) {
|
||||||
// todo: check settings to get last used sort type
|
|
||||||
sortType =
|
sortType =
|
||||||
useSettingsStore.getState().lastUsedSortType || DEFAULT_SORT_TYPE;
|
useSettingsStore.getState().lastUsedSortType || DEFAULT_SORT_TYPE;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user