Skip to content

Commit

Permalink
Add more.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Apr 22, 2024
1 parent ec7abe1 commit e0210f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions client/src/www/app/cordova_main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
import '@babel/polyfill';
import 'web-animations-js/web-animations-next-lite.min.js';
import '@webcomponents/webcomponentsjs/webcomponents-bundle.js';

import {setRootPath} from '@polymer/polymer/lib/utils/settings.js';
setRootPath(location.pathname.substring(0, location.pathname.lastIndexOf('/') + 1));

import * as Sentry from '@sentry/browser';

import {AbstractClipboard} from './clipboard';
Expand Down
4 changes: 2 additions & 2 deletions client/src/www/views/contact_view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

import {SingleSelectedEvent} from '@material/mwc-list/mwc-list';
import {Radio} from '@material/mwc-radio';
import {html, css, LitElement, TemplateResult, nothing} from 'lit';
import {customElement, property, state} from 'lit/decorators.js';
import {Ref, createRef, ref} from 'lit/directives/ref.js';
Expand All @@ -22,8 +24,6 @@ import '@material/mwc-circular-progress';
import '@material/mwc-radio';
import '@material/mwc-select';
import '@material/mwc-formfield';
import {Radio} from '@material/mwc-radio';
import {SingleSelectedEvent} from '@material/mwc-list/mwc-list';

import './support_form';
import {AppType} from './app_type';
Expand Down
5 changes: 2 additions & 3 deletions client/src/www/views/contact_view/support_form/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

import {SelectedDetail} from '@material/mwc-menu/mwc-menu-base';
import {TextField} from '@material/mwc-textfield';
import {html, css, LitElement, TemplateResult, nothing, PropertyValues} from 'lit';
import {customElement, property, state} from 'lit/decorators.js';
import {live} from 'lit/directives/live.js';
Expand All @@ -26,9 +28,6 @@ import '@material/mwc-textfield';
import {Localizer} from '../../../../../infrastructure/i18n';
import {AppType} from '../app_type';

import {TextField} from '@material/mwc-textfield';
import {SelectedDetail} from '@material/mwc-menu/mwc-menu-base';

type FormControl = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;

/** Interface for tracking form data. */
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"clean": "npm run clean --workspaces && rm -rf output node_modules third_party/jsign/*.jar && go run github.com/go-task/task/v3/cmd/task clean",
"format:all": "prettier --write \"**/*.{cjs,mjs,html,js,json,md,ts}\"",
"format": "pretty-quick --staged --pattern \"**/*.{cjs,mjs,html,js,json,md,ts}\"",
"lint:ts": "eslint --ext ts,mjs client/src",
"lint:ts": "eslint --ext ts,mjs .",
"lint": "npm run lint:ts",
"reset": "npm run clean && npm ci"
},
Expand Down

0 comments on commit e0210f2

Please sign in to comment.