mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: separate saving logic from render logic (#57516)
This commit is contained in:
committed by
GitHub
parent
b3f871a045
commit
25ebff3ca8
@@ -143,3 +143,7 @@ export const submitTypes = {
|
||||
[generic]: 'tests',
|
||||
[lab]: 'tests'
|
||||
};
|
||||
|
||||
export const canSaveToDB = (challengeType: number): boolean =>
|
||||
challengeType === challengeTypes.multifileCertProject ||
|
||||
challengeType === challengeTypes.multifilePythonCertProject;
|
||||
|
||||
Reference in New Issue
Block a user