Skip to content

Commit

Permalink
Fix loading group
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriibudko committed Jun 14, 2024
1 parent 8f56c90 commit 5e5e829
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions pages/data-providers/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ export async function getServerSideProps({ query }) {
initialState: {
dataProviders: {
data:

Check failure on line 21 in pages/data-providers/index.jsx

View workflow job for this annotation

GitHub Actions / Code quality

Delete `⏎···········`
// TODO: Remove once https://github.com/vercel/next.js/issues/16122 is solved
// or once we migrate to backend search
// normalizeDataProviders(
// process.env.NODE_ENV === 'production' ? data : data.slice(0, 200)
// ),
normalizeDataProviders(data),
params: {
...Object.fromEntries(
Expand Down
6 changes: 5 additions & 1 deletion templates/data-providers/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ const DataProvidersSearchTemplate = React.memo(
results={results}
setDataProvidersOffset={setDataProvidersSize}
>
<div id="add-new-data-provider" key="add-new-data-provider" className={styles.addDataProvider}>
<div
id="add-new-data-provider"
key="add-new-data-provider"
className={styles.addDataProvider}
>
{showAddDataProviderForm ? (
<AddDataProviderForm
ref={formRef}
Expand Down

0 comments on commit 5e5e829

Please sign in to comment.