Skip to content

Commit

Permalink
Merge branch 'KelvinTegelaar:react' into react
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWillford authored Jan 14, 2022
2 parents df6fd71 + 3d1f990 commit ffc31a3
Show file tree
Hide file tree
Showing 32 changed files with 131 additions and 376 deletions.
2 changes: 1 addition & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
APPLY_FIXES: none
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
ENABLE: [CSS, HTML, JSON, YAML, JSX, ACTION]
ENABLE: [CSS, HTML, JSON, YAML, JSX, ACTION, CREDENTIALS]
DISABLE_LINTERS: [CSS_SCSS_LINT, YAML_PRETTIER]
SHOW_SKIPPED_LINTERS: false
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "0.2.0",
"configurations": [
{
"command": "swa start --ssl --ssl-cert ./.vscode/cert.crt --ssl-key ./.vscode/key.key --swa-config-location . http://localhost:3000 --api-location http://localhost:7071",
"command": "npm run start-api",
"name": "Run emulator",
"request": "launch",
"type": "node-terminal"
Expand Down
31 changes: 31 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "react-scripts test",
"test:cov": "npm test -- --coverage --watchAll=false",
"test:debug": "react-scripts --inspect-brk test --runInBand",
"start-api": "swa start --ssl --ssl-cert ./.vscode/cert.crt --ssl-key ./.vscode/key.key --swa-config-location . http://localhost:3000 --api-location http://localhost:7071",
"start-api": "swa start --ssl --ssl-cert ./.vscode/cert.crt --ssl-key ./.vscode/key.key --swa-config-location . http://localhost:3000 --api-location http://localhost:7071 --swa-config-location .vscode",
"prepare": "husky install"
},
"config": {
Expand Down Expand Up @@ -61,6 +61,7 @@
"react-dom": "^17.0.2",
"react-final-form": "^6.5.7",
"react-final-form-listeners": "^1.0.3",
"react-hotkeys-hook": "^3.4.4",
"react-media-hook": "^0.4.9",
"react-papaparse": "^3.18.2",
"react-redux": "^7.2.5",
Expand Down
33 changes: 0 additions & 33 deletions src/assets/brand/logo-negative.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/assets/brand/logo.js

This file was deleted.

12 changes: 0 additions & 12 deletions src/assets/brand/sygnet.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/AppBreadcrumb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { useLocation } from 'react-router-dom'

import routes from '../routes'
import routes from 'src/routes'

import { CBreadcrumb, CBreadcrumbItem } from '@coreui/react'

Expand Down
4 changes: 2 additions & 2 deletions src/components/AppHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import {
} from '@coreui/react'
import { faBars } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { AppBreadcrumb } from './index'
import AppBreadcrumb from 'src/components/AppBreadcrumb'
import AppHeaderDropdown from 'src/components/header/AppHeaderDropdown'
import AppHeaderSearch from 'src/components/header/AppHeaderSearch'
import cyberdrainlogo from 'src/assets/images/CIPP.png'
import { toggleSidebarShow } from '../store/features/app'
import { toggleSidebarShow } from 'src/store/features/app'

const AppHeader = () => {
const dispatch = useDispatch()
Expand Down
Loading

0 comments on commit ffc31a3

Please sign in to comment.