Skip to content

Commit 4d210fe

Browse files
committed
main 🧊 fix demo title
1 parent cf2f5ab commit 4d210fe

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

β€Žpackages/core/src/hooks/useSticky/useSticky.tsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export const useSticky = ((...params: any[]) => {
6868
if (!target && !internalRef.state) return;
6969

7070
const element = (target ? isTarget.getElement(target) : internalRef.current) as Element;
71-
7271
if (!element) return;
7372

7473
const root = (options?.root ? isTarget.getElement(options.root) : document) as Element;

β€Žpackages/docs/app/functions/hooks/[name].mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Copy and paste the following code into your project. Update the import paths to
8585
<Code :value="$params.example" lang="typescript" />
8686

8787
<template v-if="$params.isDemo">
88+
8889
## Demo
8990

9091
<Demo :type="$params.type" :name="$params.name" />

0 commit comments

Comments
Β (0)