Skip to content

Commit 9e83d54

Browse files
authored
Fix vite warnings (#742)
1 parent ae449a4 commit 9e83d54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gcs/src/components/dashboard/indicator.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const AttitudeIndicator = (params) => {
5555
style={{
5656
...box,
5757
top: "0%",
58-
transform: `rotate(${-params.roll ?? 0}deg)`,
58+
transform: `rotate(${-(params.roll ?? 0)}deg)`,
5959
}}
6060
>
6161
<img src={horizon_back} className="box" alt="" style={{ ...box }} />
@@ -77,7 +77,7 @@ export const HeadingIndicator = (params) => {
7777
<Instrument {...params}>
7878
<div
7979
className="heading box"
80-
style={{ ...box, transform: `rotate(${-params.heading ?? 0}deg)` }}
80+
style={{ ...box, transform: `rotate(${-(params.heading ?? 0)}deg)` }}
8181
>
8282
<img src={heading_yaw} className="box" style={box} alt="" />
8383
</div>

0 commit comments

Comments
 (0)