|
@@ -66,7 +66,6 @@ export const DetachCompileProvider: FC = ({ children }) => {
|
|
|
startCompile: _startCompile,
|
|
startCompile: _startCompile,
|
|
|
stopCompile: _stopCompile,
|
|
stopCompile: _stopCompile,
|
|
|
setChangedAt: _setChangedAt,
|
|
setChangedAt: _setChangedAt,
|
|
|
- setSavedAt: _setSavedAt,
|
|
|
|
|
clearCache: _clearCache,
|
|
clearCache: _clearCache,
|
|
|
syncToEntry: _syncToEntry,
|
|
syncToEntry: _syncToEntry,
|
|
|
} = localCompileContext
|
|
} = localCompileContext
|
|
@@ -356,12 +355,6 @@ export const DetachCompileProvider: FC = ({ children }) => {
|
|
|
'detached',
|
|
'detached',
|
|
|
'detacher'
|
|
'detacher'
|
|
|
)
|
|
)
|
|
|
- const setSavedAt = useDetachAction(
|
|
|
|
|
- 'setSavedAt',
|
|
|
|
|
- _setSavedAt,
|
|
|
|
|
- 'detached',
|
|
|
|
|
- 'detacher'
|
|
|
|
|
- )
|
|
|
|
|
const clearCache = useDetachAction(
|
|
const clearCache = useDetachAction(
|
|
|
'clearCache',
|
|
'clearCache',
|
|
|
_clearCache,
|
|
_clearCache,
|
|
@@ -376,7 +369,7 @@ export const DetachCompileProvider: FC = ({ children }) => {
|
|
|
'detacher'
|
|
'detacher'
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
- useCompileTriggers(startCompile, setChangedAt, setSavedAt)
|
|
|
|
|
|
|
+ useCompileTriggers(startCompile, setChangedAt)
|
|
|
|
|
|
|
|
const value = useMemo(
|
|
const value = useMemo(
|
|
|
() => ({
|
|
() => ({
|
|
@@ -431,7 +424,6 @@ export const DetachCompileProvider: FC = ({ children }) => {
|
|
|
validationIssues,
|
|
validationIssues,
|
|
|
firstRenderDone,
|
|
firstRenderDone,
|
|
|
setChangedAt,
|
|
setChangedAt,
|
|
|
- setSavedAt,
|
|
|
|
|
cleanupCompileResult,
|
|
cleanupCompileResult,
|
|
|
syncToEntry,
|
|
syncToEntry,
|
|
|
}),
|
|
}),
|
|
@@ -485,7 +477,6 @@ export const DetachCompileProvider: FC = ({ children }) => {
|
|
|
validationIssues,
|
|
validationIssues,
|
|
|
firstRenderDone,
|
|
firstRenderDone,
|
|
|
setChangedAt,
|
|
setChangedAt,
|
|
|
- setSavedAt,
|
|
|
|
|
cleanupCompileResult,
|
|
cleanupCompileResult,
|
|
|
syncToEntry,
|
|
syncToEntry,
|
|
|
]
|
|
]
|