Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 1727c4a

Browse files
committed
Fuck it, we're going full YoloScript.
1 parent c4adbfc commit 1727c4a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/renderer/platform/components/tab/tab.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const FIRST_STYLE: CSSProperties = { marginLeft: 0 }
3333
export function Tab(props: TabProps) {
3434
const style: CSSProperties = {
3535
...ROOT_STYLE,
36-
...props.active && ACTIVE_STYLE,
37-
...props.first && FIRST_STYLE,
36+
...props.active ? ACTIVE_STYLE : null,
37+
...props.first ? FIRST_STYLE : null,
3838
...props.style
3939
}
4040
return (

tsconfig.json

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"moduleResolution": "node",
66
"jsx": "react",
77
"experimentalDecorators": true,
8+
"allowSyntheticDefaultImports": false,
9+
"strict": true,
810
"noUnusedLocals": true
911
}
1012
}

0 commit comments

Comments
 (0)