|
|
|
@ -1,5 +1,4 @@ |
|
|
|
|
import React, { useEffect, useState } from 'react' |
|
|
|
|
import { StatusBarInterface } from './types' |
|
|
|
|
import GitStatus from './components/gitStatus' |
|
|
|
|
import AIStatus from './components/aiStatus' |
|
|
|
|
import ScamAlertStatus from './components/scamAlertStatus' |
|
|
|
@ -18,12 +17,6 @@ export type ScamAlert = { |
|
|
|
|
url: string |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetCurrentWorkspace = { |
|
|
|
|
name: string |
|
|
|
|
isLocalhost: boolean |
|
|
|
|
absolutePath: string |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export function RemixUIStatusBar({ statusBarPlugin }: RemixUIStatusBarProps) { |
|
|
|
|
const [showScamDetails, setShowScamDetails] = useState(false) |
|
|
|
|
const [scamAlerts, setScamAlerts] = useState<ScamAlert[]>([]) |
|
|
|
|