diff --git a/apps/client/package.json b/apps/client/package.json index 9a9ca8d29..73bf13488 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -30,7 +30,6 @@ "react-qr-code": "^2.0.11", "react-router-dom": "^6.3.0", "react-table": "^7.7.0", - "react-use-websocket": "^4.3.1", "typeface-open-sans": "^1.1.13", "web-vitals": "^3.1.1", "zustand": "^4.3.6" diff --git a/apps/client/src/common/api/apiConstants.ts b/apps/client/src/common/api/apiConstants.ts index 96928bc43..d8596c714 100644 --- a/apps/client/src/common/api/apiConstants.ts +++ b/apps/client/src/common/api/apiConstants.ts @@ -15,9 +15,6 @@ export const RUNTIME = ['runtimeStore']; // external stuff export const githubURL = 'https://api.github.com/repos/cpvalente/ontime/releases/latest'; -// external stuff -export const githubURL = 'https://api.github.com/repos/cpvalente/ontime/releases/latest'; - /** * @description finds server path given the current location, it * @return {*} diff --git a/apps/client/src/features/event-editor/EventEditor.tsx b/apps/client/src/features/event-editor/EventEditor.tsx index 2c5e18569..45ed4db50 100644 --- a/apps/client/src/features/event-editor/EventEditor.tsx +++ b/apps/client/src/features/event-editor/EventEditor.tsx @@ -2,7 +2,7 @@ import { useCallback, useEffect, useState } from 'react'; import { Button, Select, Switch } from '@chakra-ui/react'; import { IoBan } from '@react-icons/all-files/io5/IoBan'; import { useAtom } from 'jotai'; -import { OntimeEvent, TimerType } from 'ontime-types'; +import { EndAction, OntimeEvent, TimerType } from 'ontime-types'; import { millisToString } from 'ontime-utils'; import { editorEventId } from '../../common/atoms/LocalEventSettings'; @@ -169,18 +169,6 @@ export default function EventEditor() { />
- - + +