Skip to content

Commit

Permalink
fix: rename standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Feb 23, 2023
1 parent d0e2576 commit 5f13ec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/provider/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface IConfigProps {
defaultLocale?: string;
}

namespace stanalone {
namespace standalone {
let instance: InstanceService | null = null;

/**
Expand All @@ -37,12 +37,12 @@ namespace stanalone {
}

export default function create(config: IConfigProps) {
return stanalone.create(config);
return standalone.create(config);
}

/**
* Do NOT call it in production, ONLY used for test cases
*/
export function clearInstance() {
stanalone.clearInstance();
standalone.clearInstance();
}

0 comments on commit 5f13ec2

Please sign in to comment.