Skip to content

Commit

Permalink
ci: fix website building error
Browse files Browse the repository at this point in the history
  • Loading branch information
2214962083 committed Aug 15, 2024
1 parent 0bc7f06 commit b150fd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions website/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { NolebaseInlineLinkPreviewPlugin } from '@nolebase/vitepress-plugin-inline-link-preview/client'
import { ClientOnly } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import type { App } from 'vue'
import { h } from 'vue'
Expand Down
4 changes: 2 additions & 2 deletions website/components/ChatBotButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const buttonRightDistance = ref(20);
const buttonBottomDistance = ref(20);
// window size
const windowWidth = ref(window.innerWidth);
const windowHeight = ref(window.innerHeight);
const windowWidth = ref(0);
const windowHeight = ref(0);
// update window size and buttonRightDistance
const updateWindowSize = () => {
Expand Down

0 comments on commit b150fd9

Please sign in to comment.