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