MEng-Team-Project / MEng-Team-Project-Web

(Industrial Project) React Frontend and Node.js Backend for Traffic Analysis.
MIT License
1 stars 1 forks source link

Separate filter dropdown values in own JSON file instead of Sidebar index.js #13

Closed Alvie closed 1 year ago

Alvie commented 1 year ago

Currently it is:

return (
        <div className="sidebar-filter">
            <div className="sidebar-filter__field">
                <Dropdown
                    values={[
                        {
                            meta: "float",
                            data: "time"
                        },
                    ]}
// ...

The dropdown values should be stored elsewhere