Skip to content

Commit

Permalink
fix: call get project API when boot
Browse files Browse the repository at this point in the history
  • Loading branch information
takaokouji committed Oct 12, 2023
1 parent 3178d43 commit 0bda053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/project-fetcher-hoc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const ProjectFetcherHOC = function (WrappedComponent) {
}
}
fetchProject (projectId, loadingState) {
if (!this.props.projectToken) {
if (projectId !== '0' && !this.props.projectToken) {
const errorHandler = err => {
this.props.onError(err);
log.error(err);
Expand Down

0 comments on commit 0bda053

Please sign in to comment.