Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

fix: Meet store format #111

Merged
merged 1 commit into from
Feb 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wizard-ui",
"version": "0.4.3",
"version": "0.4.3-beta.1",
"private": false,
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions src/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export interface TabsProps {
eventKeyName?: string;
direction?: 'right';
onSelect?: SelectCallback;
activeKey?: string;
id?: string;
}

Expand Down
2 changes: 1 addition & 1 deletion src/utils/bulk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type LocaleType = keyof typeof BULK_MAP;
*/
export default function bulk(value: number, options: OPTIONS, locale?: LocaleType) {
const lang = isClient ?
(window.localStorage.getItem('LOCALE') === 'en' ? 'en' : 'zh') :
(window.localStorage.getItem('LOCALE') && /en/.test(window.localStorage.getItem('LOCALE') as string) ? 'en' : 'zh') :
(locale || 'zh');
const BULK = BULK_MAP[lang as LocaleType];
let unit = BULK[0][1];
Expand Down