Skip to content

Commit 6f8d13b

Browse files
committed
Add VariableSearchAutocomplete and url to models
Introduce a new VariableSearchAutocomplete component to the home page. Also, add an optional "url" property to the GlobalVariable model for enhanced data representation. Took 53 seconds
1 parent 2967549 commit 6f8d13b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/dfda/components/dfda-home-page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import CitizenScienceSection from './CitizenScienceSection'
1414
import { useRouter } from 'next/navigation'
1515
import { useState } from 'react'
1616
import { getSafeUrlWithToken } from '../dfdaActions'
17+
import VariableSearchAutocomplete from "@/app/dfda/components/VariableSearchAutocomplete";
1718

1819
const SquigglyPattern = () => (
1920
<svg className="absolute inset-0 h-full w-full" xmlns="http://www.w3.org/2000/svg">

types/models/GlobalVariable.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export class GlobalVariable {
173173
*/
174174
"id": number
175175
"imageUrl"?: string
176+
"url"?: string
176177
/**
177178
* Ex: https://google.com
178179
*/

0 commit comments

Comments
 (0)