Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thebuilder committed Apr 28, 2024
1 parent 18e7427 commit 6e80659
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/build-copy.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fs = require("fs");
const path = require("path");
const fs = require("node:fs");
const path = require("node:path");
const pck = require("../package");
const rootDir = path.resolve(__dirname, "../");
const distDir = path.resolve(__dirname, "../dist");
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/hooks.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render, screen } from "@testing-library/react";
import React, { useCallback } from "react";
import { IntersectionOptions, defaultFallbackInView } from "../index";
import { type IntersectionOptions, defaultFallbackInView } from "../index";
import {
intersectionMockInstance,
mockAllIsIntersecting,
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import * as React from "react";
import type * as React from "react";
export { InView } from "./InView";
export { useInView } from "./useInView";
export { observe, defaultFallbackInView } from "./observe";
Expand Down

0 comments on commit 6e80659

Please sign in to comment.