Skip to content

Commit

Permalink
perf: remove unnecessary regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Feb 24, 2018
1 parent 28e0050 commit f994f5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DropArea/index.ts
Expand Up @@ -2,8 +2,6 @@ import {Component, cloneElement} from 'react';
import {render} from 'react-universal-interface';
import {h, noop} from '../util';

const REG_URL = /^https?:\/\//;

export interface IDropAreaProps {
onFiles?: (files: File[], event?) => void;
onText?: (text: string, event?) => void;
Expand Down

0 comments on commit f994f5d

Please sign in to comment.