Another Syntax fix
This commit is contained in:
parent
9cda1d3434
commit
3045d9c4f8
1 changed files with 2 additions and 2 deletions
|
@ -86,9 +86,9 @@
|
||||||
return volume;
|
return volume;
|
||||||
})
|
})
|
||||||
|
|
||||||
let maxWeight = derived(totalThrust / (gravity * 9.81))
|
let maxWeight = $derived(totalThrust / (gravity * 9.81))
|
||||||
|
|
||||||
let maxCargoWeight = $derived(maxWeight -= totalVolume * weightPerVolume)
|
let maxCargoWeight = $derived(maxWeight - totalVolume * weightPerVolume)
|
||||||
|
|
||||||
function weightConversion(weight: number): string {
|
function weightConversion(weight: number): string {
|
||||||
if (weight > 1000) {
|
if (weight > 1000) {
|
||||||
|
|
Loading…
Reference in a new issue