Skip to content

Commit

Permalink
fix oviewport import (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
DhiaPhntm authored Feb 15, 2024
1 parent ce1552f commit b276c1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@phantomstudios/ft-lib",
"description": "A collection of Javascript UI & tracking utils for FT sites",
"version": "0.3.0-rc3",
"version": "0.3.0-rc4",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"homepage": "https://github.com/phantomstudios/ft-lib#readme",
Expand Down Expand Up @@ -68,4 +68,4 @@
"@financial-times/o-tracking": "^4.5.1",
"@financial-times/o-viewport": "^5.1.2"
}
}
}
2 changes: 1 addition & 1 deletion src/utils/attention.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as oViewport from "@financial-times/o-viewport";
import oViewport from "@financial-times/o-viewport";

const ATTENTION_INTERVAL = 15000;
const ATTENTION_EVENTS = [
Expand Down

0 comments on commit b276c1b

Please sign in to comment.