diff --git a/README.md b/README.md index 370cd02b..ab74790d 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,8 @@ render( `` is just a normal link, but it automatically adds and removes an "active" classname to itself based on whether it matches the current URL. ```js -import { Router, Link } from 'preact-router'; +import { Router } from 'preact-router'; +import { Link } from 'preact-router/match'; render(