This commit is contained in:
silas 2021-12-12 18:46:34 +01:00
parent 7611c41c67
commit 4f0bb9b3de
4 changed files with 7 additions and 36067 deletions

36060
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@
"cordova-browser": "^6.0.0",
"cordova-plugin-webpack": "^1.0.5",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-sites": "git+https://github.com/Ainias/cordova-sites.git#0.7.15",
"cordova-sites": "git+https://github.com/Ainias/cordova-sites.git#react-0.0.1",
"css-loader": "^5.2.7",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
@ -46,7 +46,7 @@
"eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^4.5.2",
"js-helper": "git+https://github.com/Ainias/js-helper#0.7.5",
"js-helper": "git+https://github.com/Ainias/js-helper#0.7.7",
"mini-css-extract-plugin": "^1.6.2",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"postcss-flexbugs-fixes": "^5.0.2",
@ -57,7 +57,7 @@
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-bootstrap": "^2.0.0-beta.6",
"react-bootstrap-mobile": "git+https://github.com/Ainias/react-bootstrap-mobile#0.0.1",
"react-bootstrap-mobile": "git+https://github.com/Ainias/react-bootstrap-mobile#0.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"resolve-url-loader": "^4.0.0",
@ -86,4 +86,4 @@
"browser"
]
}
}
}

View File

@ -17,7 +17,7 @@ function PartnerTable({}: PartnerTableProps) {
const dispatch = useAppDispatch();
const columnsWeek = useMemo(() => {
const columns: Column<string> = [
const columns: Column<string>[] = [
{
Header: 'Partner 1',
accessor: 'partner1', // accessor is the "key" in the data
@ -73,7 +73,7 @@ function PartnerTable({}: PartnerTableProps) {
}, [usePartners]);
const columnsWeekdays = useMemo(() => {
const columns: Column<string> = [
const columns: Column<string>[] = [
{
Header: 'Person',
accessor: 'person', // accessor is the "key" in the data

View File

@ -40,7 +40,7 @@ const swSrc = 'not-existing-file.txt';
module.exports = (webpackEnv) => {
// const isEnvDevelopment = webpackEnv === 'development';
const isEnvDevelopment = true;
const isEnvDevelopment = false;
// const isEnvProduction = webpackEnv === 'production';
const isEnvProduction = !isEnvDevelopment;