Skip to content
Snippets Groups Projects
Commit fdd408ab authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

fetch article onBeforeMount

parent f77dd5cd
No related branches found
No related tags found
1 merge request!224Resolve "Rework references"
Pipeline #125016 waiting for manual action
......@@ -23,7 +23,7 @@ const article = ref<WikiArticle | undefined>(undefined)
const { mobile } = useDisplay();
const show = ref(false);
onMounted(async () => {
onBeforeMount(async () => {
const { article: articleOnMounted } = await useFetchArticle(props.doi);
article.value = articleOnMounted.value
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment