Remove MPD and Weather plugins

This commit is contained in:
Ceda EI 2020-12-21 21:59:10 +05:30
parent ce86f1e029
commit 822eff6c5d
4 changed files with 2 additions and 24 deletions

View File

@ -28,8 +28,8 @@ function Core() {
<Clock size="xxlarge" /> <Clock size="xxlarge" />
<Clock size="xxlarge" type="digital" /> <Clock size="xxlarge" type="digital" />
<Box direction="row" margin="1.5em" wrap={true}> <Box direction="row" margin="1.5em" wrap={true}>
<Button onClick={() => dispatch(setPlugin("mpd"))} primary <Button onClick={() => dispatch(setPlugin("sideMirrors"))} primary
label="Music Player" /> label="Side Mirrors" />
{dummyButtons.map(i => {dummyButtons.map(i =>
<Button primary label={i} key={i} margin="0 0 0 1em" /> <Button primary label={i} key={i} margin="0 0 0 1em" />
)} )}

View File

@ -1,10 +1,6 @@
import Mpd from "./mpd";
import Weather from "./weather";
import Warning from "./warning"; import Warning from "./warning";
import Manual from "./manual"; import Manual from "./manual";
export default { export default {
mpd: Mpd,
weather: Weather,
warning: Warning, warning: Warning,
manual: Manual manual: Manual
}; };

View File

@ -1,9 +0,0 @@
import React from "react";
function Mpd() {
return <p> MPD Plugin </p>;
}
Mpd.pluginName = "Music Player";
export default Mpd;

View File

@ -1,9 +0,0 @@
import React from "react";
function Weather() {
return <p> Weather Plugin </p>;
}
Weather.pluginName = "Weather";
export default Weather;