Skip to content

Commit

Permalink
fix linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
literalpie committed Feb 17, 2024
1 parent 5074d2c commit 3e799a8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
18 changes: 9 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# 0.2.5

* Fix issue that caused useVisibleTask$ to not run
- Fix issue that caused useVisibleTask$ to not run

# 0.2.4

* Fix compatibility with qwik 1.2
- Fix compatibility with qwik 1.2

# 0.2.3

* Fix issue publishing to Chromatic and move @storybook/types to devDepencencies
- Fix issue publishing to Chromatic and move @storybook/types to devDepencencies

# 0.2.2

* Fix something related to resolving builder and renderer in monorepos
- Fix something related to resolving builder and renderer in monorepos

# 0.2.1

* Fix issue that caused docs not to work in production
- Fix issue that caused docs not to work in production

# 0.2.0

* Update templates to match other Storybook frameworks
* Fix issue in production builds
* Add autodocs generator
- Update templates to match other Storybook frameworks
- Fix issue in production builds
- Add autodocs generator

# Older versions

Look at the commit history if you really care.
Look at the commit history if you really care.
1 change: 1 addition & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
To release, I run:

```
GITHUB_TOKEN=[REDACTED] NPM_TOKEN=[REDACTED] yarn workspace storybook-framework-qwik semantic-release --no-ci
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { component$, useSignal, useVisibleTask$ } from "@builder.io/qwik";

export const UseVisibleTaskComponent = component$(() => {
const visibleTaskRan = useSignal(false);
// eslint-disable-next-line qwik/no-use-visible-task
useVisibleTask$(() => {
visibleTaskRan.value = true;
});
Expand Down
3 changes: 2 additions & 1 deletion packages/qwik-app/src/routes/flower/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default component$(() => {
number: 20,
});

// eslint-disable-next-line qwik/no-use-visible-task
useVisibleTask$(({ cleanup }) => {
const timeout = setTimeout(() => (state.count = 1), 500);
cleanup(() => clearTimeout(timeout));
Expand All @@ -40,7 +41,7 @@ export default component$(() => {
}}
class={{
host: true,
pride: loc.query["pride"] === "true",
pride: (loc as any).query["pride"] === "true",
}}
>
{Array.from({ length: state.number }, (_, i) => (
Expand Down

0 comments on commit 3e799a8

Please sign in to comment.