diff --git a/app/components/Callout.tsx b/app/components/Callout.tsx
index f2a3f3e..d29b799 100644
--- a/app/components/Callout.tsx
+++ b/app/components/Callout.tsx
@@ -42,7 +42,7 @@ export default function Callout(props: {
return (
+
{getNeighboringLinks()[0] && (
{
if (isMobile()) return;
+ if (event.ctrlKey) return;
+ if (event.metaKey) return;
const hoveredElement = document.elementFromPoint(
event.clientX,
diff --git a/app/components/Snippet.tsx b/app/components/Snippet.tsx
index 77bd30d..136e09c 100644
--- a/app/components/Snippet.tsx
+++ b/app/components/Snippet.tsx
@@ -131,25 +131,25 @@ export function Snippet(props: SnippetProps) {
- {selectedTab() && (
-
- {selectedTab().code && (
-
- {(selectedTab() as SnippetTab).code}
-
- )}
- {!selectedTab().code && (
-
{(selectedTab() as CommonTab).children}
- )}
-
- )}
+
+ {(tab) => (
+
+ {tab.code && (
+
+ {tab.code}
+
+ )}
+ {!tab.code &&
{tab.children}
}
+
+ )}
+
);
diff --git a/app/layouts/DocsLayout.tsx b/app/layouts/DocsLayout.tsx
index c8e44b0..767658a 100644
--- a/app/layouts/DocsLayout.tsx
+++ b/app/layouts/DocsLayout.tsx
@@ -25,7 +25,7 @@ export function DocsLayout(props: DocsLayoutProps) {
+
>
);
diff --git a/app/partials/LatestDocs.tsx b/app/partials/LatestDocs.tsx
index f1ae701..1c8c051 100644
--- a/app/partials/LatestDocs.tsx
+++ b/app/partials/LatestDocs.tsx
@@ -8,7 +8,7 @@ export function LatestDocs() {
const data = useData();
return (
-
+
Dernières documentations