fix softlocking library

This commit is contained in:
Boof2015
2026-07-07 12:47:52 -04:00
parent 31f81282e0
commit 5f02e3e222
6 changed files with 15 additions and 28 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ export default function ArtistScreen() {
const styles = useStyles();
const colors = useColors();
const router = useRouter();
const { name = 'Artist', from } = useLocalSearchParams<{ name: string; from?: string }>();
const handleBack = useLibraryDetailBack(from);
const { name = 'Artist' } = useLocalSearchParams<{ name: string }>();
const handleBack = useLibraryDetailBack();
const insets = useSafeAreaInsets();
const { scrollY, heroFaded, collapsed, onScroll, scrollEventThrottle, expandedHeight, onHeroBlockLayout } =
useDetailCollapse();