update compile ok,
This commit is contained in:
@@ -81,6 +81,7 @@ module.exports = {
|
|||||||
'@typescript-eslint/no-empty-function': 'warn',
|
'@typescript-eslint/no-empty-function': 'warn',
|
||||||
'eslint-comments/require-description': 'off',
|
'eslint-comments/require-description': 'off',
|
||||||
'eslintreact/jsx-sort-props': 'off',
|
'eslintreact/jsx-sort-props': 'off',
|
||||||
|
'react/jsx-sort-props': 'off',
|
||||||
},
|
},
|
||||||
ignorePatterns: ['**/*del', '**/*bak'],
|
ignorePatterns: ['**/*del', '**/*bak'],
|
||||||
};
|
};
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
|
reactStrictMode: false,
|
||||||
images: {
|
images: {
|
||||||
domains: ['example.com', '127.0.0.1', 'localhost'],
|
domains: ['example.com', '127.0.0.1', 'localhost'],
|
||||||
},
|
},
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "rm -rf .next && next dev",
|
"dev": "next dev",
|
||||||
"build": "rm -rf .next && next build",
|
"build": "rm -rf .next && next build",
|
||||||
"build:w": "pnpx nodemon --ext ts,tsx,json,mjs,js,jsx --delay 1 --exec \"pnpm run build\"",
|
"build:w": "pnpx nodemon --ext ts,tsx,json,mjs,js,jsx --delay 1 --exec \"pnpm run build\"",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
|
// please use src/components/dashboard/lesson_type/interfaces.ts for defining new interfaces
|
||||||
import { dayjs } from '@/lib/dayjs';
|
import { dayjs } from '@/lib/dayjs';
|
||||||
|
|
||||||
export interface LessonType {
|
export interface LessonType {
|
||||||
|
Reference in New Issue
Block a user