Skip to content

Commit 1d48e92

Browse files
committed
[example]: updated example of antd-crud-table by passing class name only instead of instance;
1 parent 1b0eb5d commit 1d48e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/landing/Landing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const UserTable = () => {
110110
title="User Management"
111111
rowKey="id"
112112
defaultPageSize={10}
113-
service={new UserService()}
113+
service={UserService}
114114
columns={[
115115
{
116116
dataIndex: 'name',

0 commit comments

Comments
 (0)