import {useParams} from 'react-router-dom'; @@ -32,10 +33,13 @@ const UploadDialogSelectCoursePart = ({ <DialogTitle>{t('course.results.upload.select-course-part')}</DialogTitle> <DialogContent> <List component=
const [theme, setTheme] = useThemeState(); 2 changes: 1 addition & 1 deletion 2 packages/runtime/src/index.ts Original file line numberDiff line numberDiff line change @@ -27,6 +27,6 @@ export { BrowserRouter, useSearchParams, } from 'react-router-dom'; export { pathnameToRouteSe...
当头部 import 代码过多时,它往往是这样的: import { useAntdTable, useBoolean, useRequest, useSetState } from 'ahooks' import type { ColumnsType, ColumnType } from 'antd/es/table'; import ImportFileModal from './components/ImportFileModal' import ImportFundReceiptListTable from './components/Imp...
reduce,toNumber}from'lodash'importmoment,{Moment}from'moment'importReact,{FC,useState}from'react'import{Link}from'react-router-dom';importPageHeaderWrapperfrom'@/components/PageHeaderWrapper'
13 - import type {JSX} from 'react'; 14 + import {Fragment, type JSX} from 'react'; 14 15 import {useTranslation} from 'react-i18next'; 15 16 import {useParams} from 'react-router-dom'; 16 17 @@ -32,10 +33,13 @@ const UploadDialogSelectCoursePart = ({ 32 33 <Dialog...
"react-router-dom": "^6.14.1" "react-i18next": "^13.3.1", "react-router": "^6.17.0", "react-router-dom": "^6.17.0" }, "devDependencies": { "@iconify-json/logos": "*", "@svgr/core": "^8.0.0", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@sv...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
import * as React from "react"; if (React.useId !== undefined) { // do something with React.useId } will currently warn with export 'useId' (imported as 'React') was not found in 'react' (or crash if strictExportPresence is enabled). If the current behavior is a bug, please ...
While maintaining the v1 branch, we start The major selling point will be to use Yeoman's generators composition, to upgrade to Gulp 4 and to write it in ES6. Finally, I hope to open new horizons in terms of options: dependency management for sure, but also, why not Web f...
15 16 import {useParams} from 'react-router-dom'; 16 17 @@ -32,10 +33,13 @@ const UploadDialogSelectCoursePart = ({ 32 33 <DialogTitle>{t('course.results.upload.select-course-part')}</DialogTitle> 33 34 <DialogContent> 34 35 <List component={Paper}> 35 - {courseParts....