tsc
This commit is contained in:
@ -124,7 +124,7 @@ const ProjectsContextWeb = ({ children }: { children: React.ReactNode }) => {
|
||||
clearImportSearchParams()
|
||||
codeManager.updateCodeStateEditor(input.code || '')
|
||||
await codeManager.writeToFile()
|
||||
await kclManager.executeCode(true)
|
||||
await kclManager.executeCode({ zoomToFit: true })
|
||||
|
||||
return {
|
||||
message: 'File overwritten successfully',
|
||||
|
||||
@ -94,7 +94,7 @@ function OnboardingWarningWeb(props: OnboardingResetWarningProps) {
|
||||
codeManager.updateCodeStateEditor(bracket)
|
||||
await codeManager.writeToFile()
|
||||
|
||||
await kclManager.executeCode(true)
|
||||
await kclManager.executeCode({ zoomToFit: true })
|
||||
props.setShouldShowWarning(false)
|
||||
}
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user