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

fix: nextjs error logs #202

Merged
merged 40 commits into from
Feb 28, 2024
Merged

fix: nextjs error logs #202

merged 40 commits into from
Feb 28, 2024

Conversation

helciofranco
Copy link
Member

@helciofranco helciofranco commented Feb 27, 2024

This PR fixes how Next.JS resolves app-portal imports.

https://github.com/FuelLabs/edge/issues/102

No more errors
clean logs

LuizAsFight and others added 28 commits February 6, 2024 12:54
- Adapt struct to run the `@fuels/ui` inside of `app-portal` package
- BridgeTxList: purge `@fuel-ui` and replace with `@fuels/ui`


Missing on this PR: some colors are still not coming from theme, we need
to fix it in next PRs
- Layout
- Scrollable
- Header
- BridgeHome (only wrapper part, but not inside with inputs etc)
Co-authored-by: luizstacio <[email protected]>
Co-authored-by: Hélcio Franco <[email protected]>
Co-authored-by: Pedro Nauck <[email protected]>
`InputAmount` is now following the latest pattern.

<img width="513" alt="Screenshot 2024-02-23 at 16 25 38"
src="https://github.com/FuelLabs/fuel-explorer/assets/7074983/96c0da4f-5340-4df2-8238-59a1aee44e64">


### Usage
```tsx
<InputAmount
  disabled={disabled}
  balance={balance}
  value={amount}
  onChange={(bn) => console.log(bn)}
>
  <Flex>
    <InputAmount.Field />
    <InputAmount.Slot>
      <InputAmount.MaxBalance />
      <InputAmount.CoinSelector
        asset={asset}
        onClick={openAssetsDialog}
      />
    </InputAmount.Slot>
  </Flex>
  <InputAmount.Balance />
</InputAmount>
```

---------

Co-authored-by: Pedro Nauck <[email protected]>
@helciofranco helciofranco marked this pull request as ready for review February 28, 2024 16:16
Base automatically changed from lf/feat/migrate-fuel-ui to main February 28, 2024 17:11
@pedronauck pedronauck merged commit d5fb2d7 into main Feb 28, 2024
6 checks passed
@pedronauck pedronauck deleted the hf/fix/nextjs-error-logs branch February 28, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants