Skip to content

Commit

Permalink
fix: fix component import
Browse files Browse the repository at this point in the history
  • Loading branch information
frullah committed Mar 28, 2021
1 parent aaad3a0 commit b8ff045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default {
input: config.server.input(),
output: config.server.output(),
plugins: [
aliases,
replace({
preventAssignment: true,
values: {
Expand Down Expand Up @@ -122,7 +123,6 @@ export default {
input: config.serviceworker.input(),
output: config.serviceworker.output(),
plugins: [
aliases,
resolve(),
replace({
preventAssignment: true,
Expand Down
8 changes: 3 additions & 5 deletions src/components/Layout/Nav.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<script>
import Button from "./Button.svelte";
import Icon from "./Icon.svelte";
import Button from "../Button.svelte";
import Icon from "../Icon.svelte";
let openNav = false;
const links = [
{ href: "#home", text: "Home" }
]
const links = [{ href: "#home", text: "Home" }];
</script>

<header
Expand Down

0 comments on commit b8ff045

Please sign in to comment.