Skip to content

Commit de2c9cb

Browse files
committed
fix: improve code
1 parent 28f752c commit de2c9cb

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

embedding/provider.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
package embedding
1616

17-
import (
18-
"context"
19-
)
17+
import "context"
2018

2119
type EmbeddingProvider interface {
2220
QueryVector(text string, ctx context.Context) ([]float32, error)

web/src/StoreListPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class StoreListPage extends React.Component {
140140
title: i18next.t("store:Storage provider"),
141141
dataIndex: "storageProvider",
142142
key: "storageProvider",
143-
width: "250px",
143+
width: "290px",
144144
sorter: (a, b) => a.storageProvider.localeCompare(b.storageProvider),
145145
render: (text, record, index) => {
146146
if (text === "") {
@@ -195,7 +195,7 @@ class StoreListPage extends React.Component {
195195
title: i18next.t("general:Action"),
196196
dataIndex: "action",
197197
key: "action",
198-
width: "400px",
198+
width: "380px",
199199
render: (text, record, index) => {
200200
return (
201201
<div>

0 commit comments

Comments
 (0)