mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 12:10:19 -07:00
Initial Commit Rework
This commit is contained in:
parent
74a4cc048c
commit
95051cbd63
2483 changed files with 101351 additions and 111396 deletions
7
frontend/src/Utilities/getUniqueElementId.js
Normal file
7
frontend/src/Utilities/getUniqueElementId.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
let i = 0;
|
||||
|
||||
// returns a HTML 4.0 compliant element IDs (http://stackoverflow.com/a/79022)
|
||||
|
||||
export default function getUniqueElementId() {
|
||||
return `id-${i++}`;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue