Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Linux: Visual Components are not shown when same git link gets submitted multiple times #2

Open
sarahzu opened this issue Feb 27, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@sarahzu
Copy link
Collaborator

sarahzu commented Feb 27, 2020

On Linux, when a git repository was once submitted and the same git repository gets submitted again in the same session, the visual components cannot be visualized by the system. I catch this error and visualize a message to the user with instruction what to do. However, the program can still be used normally, with the only disadvantage that the visual components are not shown. An empty square is shown instead which can still be arranged on screen, so the configuration can be completed after all.

The error is connected to the dynamic loading of the visual components in the following lines:

const CurrentComponent = Loadable({
loader: () => import("./gitclone/" + currentFileName),
loading: Loading //() => <div>Loading...</div>
});

<ErrorBoundary>
{/*<Suspense fallback={<div>Loading...</div>}>*/}
<CurrentComponent {...dynamicProps}/>
{/*</Suspense>*/}
</ErrorBoundary>

@sarahzu sarahzu changed the title On Linux: Failed to compile Error On Linux: Visual Components are not shown when same git link gets submitted multiple times Feb 27, 2020
@jsvgoncalves jsvgoncalves added the bug Something isn't working label Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants