fix localstorage error

This commit is contained in:
2025-12-03 00:25:25 -05:00
parent cef372377b
commit d5bc1bed11
4 changed files with 22 additions and 10 deletions

View File

@@ -176,6 +176,7 @@ impl MathApp {
// TODO: stabilize FunctionManager serialize so it can persist across builds
let (commit, func_data) = crate::misc::hashed_storage_read(&data)?;
let func_data: &[u8] = &func_data;
if commit == unsafe { std::mem::transmute::<&str, &[u8]>(build::SHORT_COMMIT) } {