Skip to content

Commit

Permalink
Fix link, double counter duration
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Jan 17, 2024
1 parent 20a8d22 commit 69393f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/src/components/StarOnGithub.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type StarOnGithubProps = {

export function StarOnGithub({ stars = 0 }: StarOnGithubProps) {
const countUpRef = useRef<HTMLSpanElement | null>(null)
useCountUp({ ref: countUpRef, start: stars - 10, end: stars })
useCountUp({ ref: countUpRef, start: stars - 10, end: stars, duration: 4 })

return (
<ButtonLink
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ export const IndexPage = ({
</div>
</div>
<ButtonLink
href="/docs/data-layers"
href="/docs/fuse-method"
target="_blank"
variant="light"
rel="noopener noreferrer"
Expand Down

1 comment on commit 69393f5

@vercel
Copy link

@vercel vercel bot commented on 69393f5 Jan 17, 2024

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

spacex-fuse – ./examples/spacex

spacex-fuse-stellate.vercel.app
spacex-fuse.vercel.app
spacex-fuse-git-main-stellate.vercel.app

Please sign in to comment.