update compile ok,

This commit is contained in:
louiscklaw
2025-04-16 11:17:07 +08:00
parent b4fed69da6
commit 3408da17c2
4 changed files with 5 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ module.exports = {
'@typescript-eslint/no-empty-function': 'warn',
'eslint-comments/require-description': 'off',
'eslintreact/jsx-sort-props': 'off',
'react/jsx-sort-props': 'off',
},
ignorePatterns: ['**/*del', '**/*bak'],
};

View File

@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: false,
images: {
domains: ['example.com', '127.0.0.1', 'localhost'],
},

View File

@@ -7,7 +7,7 @@
"node": ">=18"
},
"scripts": {
"dev": "rm -rf .next && next dev",
"dev": "next dev",
"build": "rm -rf .next && next build",
"build:w": "pnpx nodemon --ext ts,tsx,json,mjs,js,jsx --delay 1 --exec \"pnpm run build\"",
"start": "next start",
@@ -115,4 +115,4 @@
"protobufjs"
]
}
}
}

View File

@@ -1,5 +1,6 @@
'use client';
// please use src/components/dashboard/lesson_type/interfaces.ts for defining new interfaces
import { dayjs } from '@/lib/dayjs';
export interface LessonType {