From 77eb4f58fa227bed14e884a3b12e284deafeee8a Mon Sep 17 00:00:00 2001 From: Fadojutimi Temitayo Olusegun Date: Mon, 12 Jun 2023 19:50:37 +0100 Subject: [PATCH] fix: convert toc link to locator to fix navigation issues --- example/src/components/Reader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/components/Reader.tsx b/example/src/components/Reader.tsx index 762f07f..15da751 100644 --- a/example/src/components/Reader.tsx +++ b/example/src/components/Reader.tsx @@ -66,7 +66,7 @@ export const Reader: React.FC = () => { setLocation(loc)} + onPress={(loc) => setLocation({ href: loc.href, type: 'application/xhtml+xml', title: loc.title })} />