threefoldtech / tfgrid-sdk-ts

Apache License 2.0
4 stars 8 forks source link

Prevent recursive component tree by displaying SSH keys alert #3026

Closed Mahmoud-Emad closed 3 days ago

Mahmoud-Emad commented 4 days ago

Description

What happened? we normally use a view-layout component to wrap all of our views. When creating a new view, the expected structure is:

<view-layout>
  ...
</view-layout>

Recently, the component has been added to the SSHKeys view. and this isn't wrong, we import the SSHKeys component within the view-layout component when there are no SSH keys. This setup creates a recursive component tree, leading to a maximum call stack size exceeded error.

Changes

Related Issues

Screenshots

Checklist