Skip to content

Commit

Permalink
Update DataView.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jan 18, 2024
1 parent 644a307 commit d7d8c13
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/lib/dataview/DataView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { SpinnerIcon } from '../icons/spinner';
import { ThLargeIcon } from '../icons/thlarge';
import { Paginator } from '../paginator/Paginator';
import { Ripple } from '../ripple/Ripple';
import { classNames, IconUtils, ObjectUtils } from '../utils/Utils';
import { mergeProps } from '../utils/Utils';
import { classNames, IconUtils, mergeProps, ObjectUtils } from '../utils/Utils';
import { DataViewBase, DataViewLayoutOptionsBase } from './DataViewBase';

export const DataViewLayoutOptions = React.memo((inProps) => {
Expand Down Expand Up @@ -77,7 +76,6 @@ export const DataViewItem = React.memo((props) => {

export const DataView = React.memo(
React.forwardRef((inProps, ref) => {
const mergeProps = useMergeProps();
const context = React.useContext(PrimeReactContext);
const props = DataViewBase.getProps(inProps, context);
const [firstState, setFirstState] = React.useState(props.first);
Expand Down

1 comment on commit d7d8c13

@vercel
Copy link

@vercel vercel bot commented on d7d8c13 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

primereact – ./

primereact.org
primereact-primetek.vercel.app
primereact-git-prod-primetek.vercel.app

Please sign in to comment.