mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-22 02:41:23 +01:00
remove unused declarations in app.tsx
This commit is contained in:
parent
e6003c310e
commit
a52e5c6c9b
@ -290,12 +290,9 @@ function processBackgroundUrls(cssText: string): string {
|
||||
return rtnStyle.replace(/^background:\s*/, "");
|
||||
}
|
||||
|
||||
const backgroundAttr = "url(/Users/mike/Downloads/wave-logo_appicon.png) repeat-x fixed";
|
||||
|
||||
function AppBackground() {
|
||||
const bgRef = React.useRef<HTMLDivElement>(null);
|
||||
const tabId = jotai.useAtomValue(atoms.activeTabId);
|
||||
const windowOpacity = jotai.useAtomValue(atoms.settingsConfigAtom).window.opacity;
|
||||
const [tabData] = useWaveObjectValue<Tab>(WOS.makeORef("tab", tabId));
|
||||
const bgAttr = tabData?.meta?.bg;
|
||||
const style: React.CSSProperties = {};
|
||||
|
Loading…
Reference in New Issue
Block a user