ウィジェットのバグを修正
This commit is contained in:
@@ -33,7 +33,9 @@ export async function widgetTaskHandler(props) {
|
||||
switch (WidgetName) {
|
||||
case "Info_Widget": {
|
||||
const { time, text } = await getInfoString();
|
||||
renderWidget(<InfoWidget time={time} text={text} />);
|
||||
renderWidget(
|
||||
<InfoWidget time={time} text={text && text.toString()} />
|
||||
);
|
||||
break;
|
||||
}
|
||||
case "JR_shikoku_train_info":
|
||||
|
Reference in New Issue
Block a user