tsc
This commit is contained in:
@ -126,7 +126,7 @@ const ProjectsContextWeb = ({ children }: { children: React.ReactNode }) => {
|
|||||||
clearImportSearchParams()
|
clearImportSearchParams()
|
||||||
const codeToWrite = changeKclSettings(input.code ?? '', {
|
const codeToWrite = changeKclSettings(input.code ?? '', {
|
||||||
defaultLengthUnits: unitLengthToUnitLen(
|
defaultLengthUnits: unitLengthToUnitLen(
|
||||||
settings.context.modeling.defaultUnit.current
|
settings.modeling.defaultUnit.current
|
||||||
),
|
),
|
||||||
defaultAngleUnits: { type: 'Degrees' },
|
defaultAngleUnits: { type: 'Degrees' },
|
||||||
})
|
})
|
||||||
@ -417,7 +417,7 @@ const ProjectsContextDesktop = ({
|
|||||||
fileName = name
|
fileName = name
|
||||||
const codeToWrite = changeKclSettings(input.code ?? '', {
|
const codeToWrite = changeKclSettings(input.code ?? '', {
|
||||||
defaultLengthUnits: unitLengthToUnitLen(
|
defaultLengthUnits: unitLengthToUnitLen(
|
||||||
settings.context.modeling.defaultUnit.current
|
settings.modeling.defaultUnit.current
|
||||||
),
|
),
|
||||||
defaultAngleUnits: { type: 'Degrees' },
|
defaultAngleUnits: { type: 'Degrees' },
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user