Skip to content

Commit

Permalink
Add comment clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBatdorf committed Jul 31, 2023
1 parent 8802490 commit ce2c0cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/editor/Edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export const Edit = ({
(code: string) => {
if (useDecodeURI) {
try {
// Here for bw compatability
return decodeURIComponent(code);
} catch (e) {
// Covers sequences that fail the above
return code;
}
}
Expand All @@ -79,9 +79,9 @@ export const Edit = ({
(code: string) => {
if (useDecodeURI) {
try {
// Here for bw compatability
return encodeURIComponent(code);
} catch (e) {
// Covers sequences that fail the above
return code;
}
}
Expand Down

0 comments on commit ce2c0cc

Please sign in to comment.