mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:53:25 +00:00
fix: source id is string
This commit is contained in:
@@ -21,7 +21,7 @@ interface Event {
|
||||
|
||||
export default function LoadingScreenWrapper() {
|
||||
const params = useLocalSearchParams();
|
||||
const sourceId = params.sourceID?.[0];
|
||||
const sourceId = params.sourceID as string | undefined;
|
||||
const data = params.data
|
||||
? (JSON.parse(params.data as string) as ItemData)
|
||||
: null;
|
||||
|
Reference in New Issue
Block a user