Skip to content

Commit

Permalink
fix: small fix & update docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 4, 2024
1 parent 1e9fc16 commit 4a8f20b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/track-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class TrackBuilder<
EventData extends TrackEventDataBase,
> {
private ctx: Context;
private adapterMap: TrackAdapterMap<Context, EventData>;
private adapterMap: TrackAdapterMap<Context, EventData> = {};

private beforeHook?: TrackBeforeFunction<Context>;
private afterHook?: TrackAfterFunction<Context>;
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const config: Config = {
title: 'hyperse track',
tagline:
'A typed, smart, scalable , powerful data collection engine written in typescript',
url: 'https://hyperse.github.io',
url: 'https://hyperse-io.github.io',
baseUrl: '/track',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
Expand Down
7 changes: 6 additions & 1 deletion website/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const sidebars: SidebarsConfig = {
{
type: 'link',
label: 'Hyperse Pipeline',
href: 'https://hyperse.github.io/pipeline/',
href: 'https://hyperse-io.github.io/pipeline/',
},
{
type: 'link',
label: 'Hyperse gh-pages starter',
href: 'https://hyperse-io.github.io/gh-pages-starter/',
},
],
},
Expand Down

0 comments on commit 4a8f20b

Please sign in to comment.