mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 11:38:11 +08:00
Improve and clean up panic dialog code and wasm wrapper (#368)
Part of #357
This commit is contained in:
@@ -160,11 +160,13 @@ function newDisplayError(input: any): DisplayError {
|
||||
}
|
||||
|
||||
export interface DisplayPanic {
|
||||
panic_info: string;
|
||||
title: string;
|
||||
description: string;
|
||||
}
|
||||
function newDisplayPanic(input: any): DisplayPanic {
|
||||
return {
|
||||
panic_info: input.panic_info,
|
||||
title: input.title,
|
||||
description: input.description,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user