File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
app/pages/package/[[org]] Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,13 @@ function maybePrefetchReadmeMarkdown() {
102102 void fetchReadmeMarkdown ()
103103}
104104
105- watch ([() => readmeData .value .mdExists , readmeMarkdownStatus ], () => {
106- maybePrefetchReadmeMarkdown ()
107- }, { immediate: true })
105+ watch (
106+ [() => readmeData .value .mdExists , readmeMarkdownStatus ],
107+ () => {
108+ maybePrefetchReadmeMarkdown ()
109+ },
110+ { immediate: true },
111+ )
108112
109113// copy README file as Markdown
110114const { copied : copiedReadme, copy : copyReadme } = useClipboard ({
@@ -155,8 +159,7 @@ async function copyReadmeHandler() {
155159 if (! markdown ) return
156160
157161 await copyReadme (markdown )
158- }
159- finally {
162+ } finally {
160163 isCopyingReadme .value = false
161164 }
162165}
@@ -1027,11 +1030,7 @@ const showSkeleton = shallowRef(false)
10271030 </h2 >
10281031 <div class =" flex gap-2" >
10291032 <!-- Copy readme as Markdown button -->
1030- <TooltipApp
1031- v-if =" readmeData?.mdExists"
1032- :text =" readmeCopyTooltip"
1033- position =" bottom"
1034- >
1033+ <TooltipApp v-if =" readmeData?.mdExists" :text =" readmeCopyTooltip" position =" bottom" >
10351034 <ButtonBase
10361035 @mouseenter =" prefetchReadmeMarkdown"
10371036 @focus =" prefetchReadmeMarkdown"
You can’t perform that action at this time.
0 commit comments