@@ -22,7 +22,6 @@ module.exports = {
localePath: path.resolve('./public/static/locales'),
serializeConfig: false,
- // eslint-disable-next-line no-nested-ternary
use: isDev
? isServer()
? [new HMRPlugin({ webpack: { server: true } })]
@@ -158,7 +158,6 @@ export const AuditLogManagement: FC = () => {
const isNan = Number.isNaN(inputNumber);
if (!isNan) {
const jumpPageNumber =
inputNumber > totalPagingPages
? totalPagingPages
@@ -10,9 +10,7 @@ export const getAdjustedMaxWidthForAutosizeInput = (
size: 'sm' | 'md' | 'lg' = 'md',
isValid?: boolean,
): number => {
const bsFormPaddingSize = size === 'sm' ? 8 : size === 'md' ? 12 : 16; // by bootstrap form
const bsValidationIconSize = size === 'sm' ? 25 : size === 'md' ? 24 : 26; // by bootstrap form validation
return (
@@ -285,7 +285,6 @@ export const Sidebar = (): JSX.Element => {
// css styles
const grwSidebarClass = styles['grw-sidebar'];
let modeClass = '';
switch (sidebarMode) {
case SidebarMode.DRAWER:
@@ -75,7 +75,6 @@ function tokenizeDirectiveLeaf(effects, ok, nok) {
/** @type {State} */
function afterName(code) {
return code === codes.dollarSign
? nok(code)
: code === codes.leftSquareBracket
@@ -56,7 +56,6 @@ function tokenizeDirectiveText(effects, ok, nok) {