Skip to content

Commit

Permalink
fix: remove undefined type of screen in OmniLinkToType
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiragPansuriya-iView committed Apr 19, 2024
1 parent 98ad01b commit 0f184e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/OmniLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from "react-native";

interface OmniLinkToType {
screen: string | never | undefined;
screen: string | never;
params?: object;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/screens/Marketplace/MarketplaceScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ const CollectionRow: React.FC<{
}}
disabled={!target}
to={{
screen: target,
screen: target || "",
params: { id: collection.id },
}}
>
Expand Down

0 comments on commit 0f184e2

Please sign in to comment.