Skip to content

Commit 5a765d2

Browse files
committed
fix: segmented button imports wrong path
Fixes #461.
1 parent 1589777 commit 5a765d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/segmented-button/src/Segment.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
>
3636

3737
<script lang="ts">
38-
import { MDCSegmentedButtonSegmentFoundation } from '@material/segmented-button/segment/foundation.js';
38+
import { MDCSegmentedButtonSegmentFoundation } from '@material/segmented-button';
3939
import { onMount, getContext } from 'svelte';
4040
import { get_current_component } from 'svelte/internal';
4141
import type { ActionArray } from '@smui/common/internal';

packages/segmented-button/src/SegmentedButton.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</div>
2727

2828
<script lang="ts">
29-
import { MDCSegmentedButtonFoundation } from '@material/segmented-button/segmented-button/foundation.js';
29+
import { MDCSegmentedButtonFoundation } from '@material/segmented-button';
3030
import { onMount, setContext } from 'svelte';
3131
import { writable } from 'svelte/store';
3232
import { get_current_component } from 'svelte/internal';

0 commit comments

Comments
 (0)