From fa9a154fb2b9def9ca75df445daf94a4d75bf8ba Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Sun, 10 Dec 2023 18:08:23 +0800 Subject: [PATCH] feat(dash): fix bug --- dashboard/src/api/database.ts | 2 +- docs/getting-started.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dashboard/src/api/database.ts b/dashboard/src/api/database.ts index c0c228b..eca4ca6 100644 --- a/dashboard/src/api/database.ts +++ b/dashboard/src/api/database.ts @@ -22,7 +22,7 @@ const useDatabase = ()=> { } return { - database:data.dataSourceConfig, + database:data.dataSourceConfig||[], isLoading, isError:error, createDatabase, diff --git a/docs/getting-started.md b/docs/getting-started.md index d2458b8..12acc3e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -17,7 +17,14 @@ Screenshots-1 2. create business by click the button `Create Business` on the top right corner. +Screenshots-2 + +Input the business title and id + + ### Implement the logic in your backend +Copy business id and use it in your backend. +Message id mean the id of object that be vote, The message id can be any string. It is decided by your business logic. #### Golang [Click here](https://github.com/CorrectRoadH/likit-go/blob/main/README.md)