Skip to content

Commit

Permalink
remove unused EMPTY constant
Browse files Browse the repository at this point in the history
  • Loading branch information
developit authored and JoviDeCroock committed Jan 31, 2021
1 parent 0dd53d4 commit 39a4098
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/preact-iso/router.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { h, createContext, cloneElement } from 'preact';
import { useContext, useMemo, useReducer, useEffect, useRef } from 'preact/hooks';

const EMPTY = {};

const UPDATE = (state, url, push) => {
if (url && url.type === 'click') {
const link = url.target.closest('a[href]');
Expand Down

0 comments on commit 39a4098

Please sign in to comment.