Skip to content

Commit

Permalink
Fix unwanted runtime errors on services and android page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Nov 9, 2023
1 parent d1180e4 commit 6b08f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt-frontend/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function elementInViewPort(refs) {

function handleAnimationOnScroll(data) {
if (data && data.name) {
const rect = data.name.getBoundingClientRect();
const rect = data.name.getBoundingClientRect;

if (rect) {
const { top, bottom } = rect;
Expand Down

0 comments on commit 6b08f47

Please sign in to comment.