Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddasol committed Nov 12, 2024
1 parent 0740244 commit a3b9c77
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 200 deletions.
35 changes: 16 additions & 19 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { LanguageProvider } from 'components/Contexts/LanguageContext'
import { MissionControlProvider } from 'components/Contexts/MissionControlContext'
import { MissionFilterProvider } from 'components/Contexts/MissionFilterContext'
import { MissionRunsProvider } from 'components/Contexts/MissionRunsContext'
import { DockProvider } from 'components/Contexts/DockContext'
import { AlertProvider } from 'components/Contexts/AlertContext'
import { InstallationProvider } from 'components/Contexts/InstallationContext'
import { AuthProvider } from 'components/Contexts/AuthProvider'
Expand Down Expand Up @@ -36,24 +35,22 @@ const App = () => (
<RobotProvider>
<MissionRunsProvider>
<AlertProvider>
<DockProvider>
<MissionRunsProvider>
<MissionControlProvider>
<UnauthenticatedTemplate>
<div className="sign-in-page">
<AssetSelectionPage></AssetSelectionPage>
</div>
</UnauthenticatedTemplate>
<AuthenticatedTemplate>
<MissionFilterProvider>
<MediaStreamProvider>
<FlotillaSite />
</MediaStreamProvider>
</MissionFilterProvider>
</AuthenticatedTemplate>
</MissionControlProvider>
</MissionRunsProvider>
</DockProvider>
<MissionRunsProvider>
<MissionControlProvider>
<UnauthenticatedTemplate>
<div className="sign-in-page">
<AssetSelectionPage></AssetSelectionPage>
</div>
</UnauthenticatedTemplate>
<AuthenticatedTemplate>
<MissionFilterProvider>
<MediaStreamProvider>
<FlotillaSite />
</MediaStreamProvider>
</MissionFilterProvider>
</AuthenticatedTemplate>
</MissionControlProvider>
</MissionRunsProvider>
</AlertProvider>
</MissionRunsProvider>
</RobotProvider>
Expand Down
78 changes: 0 additions & 78 deletions frontend/src/components/Contexts/DockContext.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions frontend/src/components/Pages/ErrorFallback.tsx

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/models/VideoStream.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
export enum MediaType {
Video,
Audio,
}

export enum MediaConnectionType {
LiveKit = 'LiveKit',
}
Expand Down

0 comments on commit a3b9c77

Please sign in to comment.