diff options
Diffstat (limited to 'frontend/src/utils.js')
-rw-r--r-- | frontend/src/utils.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/utils.js b/frontend/src/utils.js index 0707575..e71067a 100644 --- a/frontend/src/utils.js +++ b/frontend/src/utils.js @@ -1,5 +1,3 @@ -import React from "react"; - const timeRegex = /^(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/; export function createCurlCommand(subCommand, method = null, json = null, data = null) { @@ -111,5 +109,5 @@ export function formatSize(size) { } export function randomClassName() { - return Math.random().toString(36).slice(2) + return Math.random().toString(36).slice(2); } |