feat: Initial SiteFooter
This commit is contained in:
@@ -9,7 +9,6 @@ const { data: node, error } = await useAsyncGraphQLQuery(
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
// Handle errors and missing nodes
|
||||
if (!node.value) {
|
||||
console.error("NodeByUri query error:", error.value);
|
||||
@@ -20,7 +19,6 @@ if (!node.value) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// Dynamically resolve component based on node type
|
||||
const componentName = `Node${node.value.__typename}`;
|
||||
if (!useNuxtApp().vueApp.component(componentName)) {
|
||||
|
||||
Reference in New Issue
Block a user