Skip to content

Commit 9dbb639

Browse files
committed
fix: safe_id with key() not working
1 parent 307997b commit 9dbb639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CCharts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const CCharts = props=>{
5555
const safeId = (()=>{
5656
// as long as this._uid() works there is no need to generate the key
5757
const key = () => Math.random().toString(36).replace('0.', '')
58-
return '__safe_id__' + _uid || key()
58+
return '__safe_id__' + (_uid || key())
5959
})();
6060
const computedDatasets = (()=>{
6161
return datasets

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy