generated from kevisual/vite-react-template
chore: update dependencies and improve configuration handling
- Bump version to 0.0.7 in package.json and update deployment script. - Add new dependencies in bun.lock for improved functionality. - Modify loadFromRemote methods in Gitea and general config stores to return boolean for better error handling. - Enhance BuildConfig component to ensure proper loading state management. - Simplify RepoCard component by removing duplicate repository access option. - Update WorkspaceDetailDialog to include workspace link in state management. - Fix branch default value in createDevConfig function to use a placeholder.
This commit is contained in:
@@ -11,7 +11,8 @@ export const App = () => {
|
||||
const repoStore = useRepoStore(useShallow((state) => ({
|
||||
getItem: state.getItem,
|
||||
editRepo: state.editRepo,
|
||||
refresH: state.refresh,
|
||||
refresh: state.refresh,
|
||||
loading: state.loading,
|
||||
})));
|
||||
const [activeTab, setActiveTab] = useState(params.tab || "build");
|
||||
const tabs = [
|
||||
@@ -21,7 +22,7 @@ export const App = () => {
|
||||
useEffect(() => {
|
||||
if (params.repo) {
|
||||
repoStore.getItem(params.repo);
|
||||
repoStore.refresH({ search: params.repo, showTips: false });
|
||||
repoStore.refresh({ search: params.repo, showTips: false });
|
||||
} else {
|
||||
console.log('no repo param')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user