Skip to content

Commit 2971fe3

Browse files
committed
Formatted the code
1 parent c83c585 commit 2971fe3

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/scheduler/common/ErrorMessage.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ interface IErrorMessageInterface {
2626
const ErrorMessage: React.FC<IErrorMessageInterface> = ({
2727
message,
2828
showIcon = true,
29-
errorWidth = false,
29+
errorWidth = false
3030
}) => {
3131
return (
32-
<div className={errorWidth ? "error-key-parent error-key-wrapper" : "error-key-parent"}>
32+
<div
33+
className={
34+
errorWidth ? 'error-key-parent error-key-wrapper' : 'error-key-parent'
35+
}
36+
>
3337
{showIcon && (
3438
<iconError.react tag="div" className="logo-alignment-style" />
3539
)}

src/utils/Const.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export const pattern =
120120
// eslint-disable-next-line
121121
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g; // REGX to extract URL from string
122122

123-
export const DEFAULT_DISK_MIN_SIZE = 10;
123+
export const DEFAULT_DISK_MIN_SIZE = 10;
124124

125-
export const DEFAULT_DISK_MAX_SIZE = 65536;
125+
export const DEFAULT_DISK_MAX_SIZE = 65536;
126126

127-
export const DEFAULT_DISK_SIZE = '100';
127+
export const DEFAULT_DISK_SIZE = '100';

0 commit comments

Comments
 (0)