Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
fix github card request life cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Aug 7, 2023
1 parent d44eb2e commit a9fa1e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/assets/script/card/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ export function update() {
loading.value = false;
})
}

update();
1 change: 1 addition & 0 deletions src/components/cards/GithubCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Loader from "@/components/icons/loader.vue";
const element = ref<HTMLElement | null>(null);
registerScrollableComponent(element, true);
update();
</script>

<template>
Expand Down

1 comment on commit a9fa1e6

@vercel
Copy link

@vercel vercel bot commented on a9fa1e6 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.