Skip to content

Commit

Permalink
Update nextjs import, update license to use apache 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiaslins committed Dec 6, 2023
1 parent 3bda500 commit d257367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vercel/speed-insights",
"version": "0.0.7",
"version": "0.0.8",
"description": "Speed Insights is a tool for measuring web performance and providing suggestions for improvement.",
"keywords": [
"speed-insights",
Expand All @@ -10,7 +10,7 @@
"url": "github:vercel/speed-insights",
"directory": "packages/web"
},
"license": "MPL-2.0",
"license": "Apache-2.0",
"exports": {
"./package.json": "./package.json",
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/nextjs/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
import { useParams, usePathname, useSearchParams } from 'next/navigation';
import { useMemo } from 'react';
import { useParams, usePathname, useSearchParams } from 'next/navigation.js';
import { computeRoute } from '../utils';

export const useRoute = (): string | null => {
Expand Down

0 comments on commit d257367

Please sign in to comment.