Skip to content

Commit

Permalink
*Minor bugfix so the installer can be built
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsRiprod committed Jul 13, 2024
1 parent 9f7e849 commit 0fadf4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// src/components/ErrorBoundary.tsx

import React, { Component, ReactNode, ErrorInfo } from 'react'
import { Component, ReactNode, ErrorInfo } from 'react'
import Loading from './Loading'

interface ErrorBoundaryProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DragEvent, useState } from 'react'
import { IconLoading, IconLogoGearLoading, IconUpload } from './icons'
import { IconLogoGearLoading, IconUpload } from './icons'

interface returnData {
appId: string
Expand Down
2 changes: 1 addition & 1 deletion DeskThingServer/src/renderer/src/components/LogDisplay.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState, useRef } from 'react'
import logStore, { log } from '../store/logStore'
import { IconLogo, IconLogoGearLoading, IconLogoLoading } from './icons'
import { IconLogoLoading } from './icons'

const LogDisplay = (): JSX.Element => {
const [logs, setLogs] = useState<log[]>([])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ToastContainer: React.FC = () => {
}
}, [])

const removeToast = (id: number): void => {
const removeToast = (id: string): void => {
setToasts((prevToasts) => prevToasts.filter((toast) => toast.id !== id))
}

Expand Down

0 comments on commit 0fadf4a

Please sign in to comment.