Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
fix(Checkbox): fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComputerM committed Aug 24, 2020
1 parent 7fce87d commit 3fffdec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script context="module">
const uuidv4 = () => {
const uuid = () => {
const output = Math.round(Math.random() * 4999 + 1000);
return output;
};
Expand Down Expand Up @@ -39,7 +39,7 @@
// Styles to add to checkbox wrapper.
export let style = null;
id = id || `s-checkbox-${uuidv4()}`;
id = id || `s-checkbox-${uuid()}`;
const hasValidGroup = Array.isArray(group);
if (hasValidGroup && value) {
Expand Down

0 comments on commit 3fffdec

Please sign in to comment.