HasithDeAlwis / Hasith-Portfolio-v2

Version two of my portfolio
0 stars 0 forks source link

fix(website/navbar/drawer): import onDestroy #44

Closed HasithDeAlwis closed 1 month ago

HasithDeAlwis commented 1 month ago

Quick fix for the navbar

Summary by Sourcery

Bug Fixes:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This is a minor fix that adds a missing Svelte lifecycle import to the drawer component. The change imports the onDestroy hook from the Svelte framework, which is likely needed for cleanup operations in the component.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Added missing Svelte lifecycle hook import
  • Imported onDestroy from Svelte framework
apps/website/src/components/base/drawer.svelte

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
netlify[bot] commented 1 month ago

Deploy Preview for hasith canceled.

Name Link
Latest commit 2da1089ba2d6e2e377922a1bc230ccdca21aca61
Latest deploy log https://app.netlify.com/sites/hasith/deploys/67195b72299a760008fdbf9c