Skip to content

Commit

Permalink
Add missing registry-url in main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Jul 30, 2023
1 parent 50542d7 commit 5bf9157
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org
node-version: 18
cache: 'pnpm'

Expand Down
1 change: 1 addition & 0 deletions packages/preact/src/SelectionArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const SelectionArea: FunctionalComponent<SelectionAreaProps> = props => {
const root = createRef<HTMLDivElement>();

useEffect(() => {
/* eslint-disable @typescript-eslint/no-unused-vars */
const {onBeforeStart, onBeforeDrag, onStart, onMove, onStop, ...opt} = props;
const areaBoundaries = root.current as HTMLElement;

Expand Down
1 change: 1 addition & 0 deletions packages/react/src/SelectionArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const SelectionArea: React.FunctionComponent<SelectionAreaProps> = props
const root = createRef<HTMLDivElement>();

useEffect(() => {
/* eslint-disable @typescript-eslint/no-unused-vars */
const {onBeforeStart, onBeforeDrag, onStart, onMove, onStop, ...opt} = props;
const areaBoundaries = root.current as HTMLElement;

Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/SelectionArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="ts" setup>
import SelectionArea, {SelectionEvent, SelectionEvents, SelectionOptions} from '@viselect/vanilla';
import SelectionArea, {SelectionEvent, SelectionOptions} from '@viselect/vanilla';
import {onBeforeUnmount, ref, watchEffect, shallowRef} from 'vue';
const emit = defineEmits<{
Expand Down

0 comments on commit 5bf9157

Please sign in to comment.