Import and export library from/to a file (#1940)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@ -7,14 +7,7 @@ import { t } from "../i18n";
|
||||
import useIsMobile from "../is-mobile";
|
||||
import { register } from "./register";
|
||||
import { KEYS } from "../keys";
|
||||
|
||||
const muteFSAbortError = (error?: Error) => {
|
||||
// if user cancels, ignore the error
|
||||
if (error?.name === "AbortError") {
|
||||
return;
|
||||
}
|
||||
throw error;
|
||||
};
|
||||
import { muteFSAbortError } from "../utils";
|
||||
|
||||
export const actionChangeProjectName = register({
|
||||
name: "changeProjectName",
|
||||
|
Reference in New Issue
Block a user