Skip to content

Commit

Permalink
Remove extra code
Browse files Browse the repository at this point in the history
 (handled in next PR and want to avoid conflicts)
  • Loading branch information
masad-frost authored Sep 7, 2023
1 parent a552455 commit dcc208c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ function colorPickersDecorations(view: EditorView) {
const colorName = view.state.doc.sliceString(from, to);
if (namedColors.has(colorName)) {
const color = namedColors.get(colorName);

if (!color) {
return;
}

const widget = Decoration.widget({
widget: new ColorPickerWidget({
colorType: ColorType.named,
Expand Down

0 comments on commit dcc208c

Please sign in to comment.