mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-04 20:11:48 +02:00
Fix lint errors
This commit is contained in:
@@ -11,7 +11,8 @@ import { Editor } from '../core/Editor/Editor';
|
|||||||
import type { IconProps } from '../core/Icon';
|
import type { IconProps } from '../core/Icon';
|
||||||
import { Icon } from '../core/Icon';
|
import { Icon } from '../core/Icon';
|
||||||
import { IconButton } from '../core/IconButton';
|
import { IconButton } from '../core/IconButton';
|
||||||
import { Select, SelectProps } from '../core/Select';
|
import { Select } from '../core/Select';
|
||||||
|
import type { SelectProps } from '../core/Select';
|
||||||
import { HStack, VStack } from '../core/Stacks';
|
import { HStack, VStack } from '../core/Stacks';
|
||||||
|
|
||||||
const buttonColors: ButtonProps['color'][] = [
|
const buttonColors: ButtonProps['color'][] = [
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ export function Workspace() {
|
|||||||
if (activeEnvironment?.color == null) return undefined;
|
if (activeEnvironment?.color == null) return undefined;
|
||||||
const background = `linear-gradient(to right, ${activeEnvironment.color} 15%, transparent 40%)`;
|
const background = `linear-gradient(to right, ${activeEnvironment.color} 15%, transparent 40%)`;
|
||||||
return { background };
|
return { background };
|
||||||
}, [activeEnvironment?.color ?? 'n/a']);
|
}, [activeEnvironment?.color]);
|
||||||
|
|
||||||
// We're loading still
|
// We're loading still
|
||||||
if (workspaces.length === 0) {
|
if (workspaces.length === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user