-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added table record mock mode with companies #2715
Conversation
lucasbordeau
commented
Nov 25, 2023
•
edited by charlesBochet
Loading
edited by charlesBochet
- Added companies mocks from demo data
Error SyntaxError
Dangerfile
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments!
return <></>; | ||
}; | ||
|
||
const mock = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should extract that to another file!
|
||
const { persistViewFields } = useViewFields(viewScopeId); | ||
|
||
const { setTableFilters, setTableSorts, setTableColumns } = useRecordTable({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused variable
@@ -0,0 +1,79 @@ | |||
import styled from '@emotion/styled'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel we should not re-add this to object-record folder and create a separated company-record-table-mock module