diff --git a/src/Core.js b/src/Core.js index e957457..1ecadab 100644 --- a/src/Core.js +++ b/src/Core.js @@ -1,5 +1,6 @@ import React from "react"; import { useSelector, useDispatch } from "react-redux"; +import { Box, Button, Clock } from "grommet"; import { setPlugin, selectCore } from "./coreSlice"; import * as plugins from "./plugins"; @@ -12,21 +13,29 @@ function Core() { data: coreState.data, close: () => dispatch(setPlugin(false)) }; + const dummyButtons = ["Maps", "Home Devices", "Phone"]; return <> - {plugin ? null : - <> -
Welcome to Honda!
- {Object.keys(plugins.default).map( - i =>dispatch(setPlugin(i))} - key={i} - > - {plugins.default[i].pluginName} -
) - } - > + {plugin ? plugin(props) : ( +