Hyunseung Lee 2 years ago
parent
commit
b4df1a4e26

+ 2 - 2
.github/ISSUE_TEMPLATE/bug_report.yml

@@ -24,7 +24,7 @@ body:
     id: media
     attributes:
       label: Media & Screenshots
-      description: Inlude screenshots or video of reproduction as much as possible
+      description: Include screenshots or video of reproduction as much as possible
       render: md
   - type: textarea
     id: os
@@ -34,7 +34,7 @@ body:
       value: |
        - OS: [e.g. iOS]:
        - Browser [e.g. chrome, safari]:
-       
+
        - Any other details...
   - type: dropdown
     id: priority

+ 1 - 1
src/containers/Editor/BottomBar.tsx

@@ -132,7 +132,7 @@ export const BottomBar = () => {
         toast.success(`Document set to ${isPrivate ? "public" : "private"}.`);
       } else throw res.errors;
     } catch (error) {
-      toast.error("An error occured while updating document!");
+      toast.error("An error occurred while updating document!");
     } finally {
       setIsUpdating(false);
     }

+ 2 - 2
src/containers/Modals/CloudModal/index.tsx

@@ -125,7 +125,7 @@ const GraphCard: React.FC<{ data: Json; refetch: () => void; active: boolean }>
     toast
       .promise(updateJson(data._id, { name }), {
         loading: "Updating document...",
-        error: "Error occured while updating document!",
+        error: "Error occurred while updating document!",
         success: `Renamed document to ${name}`,
       })
       .then(refetch);
@@ -139,7 +139,7 @@ const GraphCard: React.FC<{ data: Json; refetch: () => void; active: boolean }>
     toast
       .promise(deleteJson(data._id), {
         loading: "Deleting JSON file...",
-        error: "An error occured while deleting the file!",
+        error: "An error occurred while deleting the file!",
         success: `Deleted ${name}!`,
       })
       .then(refetch);