Skip to content

Commit

Permalink
chore: unrecognized attribute xmlns:svelte (#6021)
Browse files Browse the repository at this point in the history
# Motivation

Fix warning which becomes an error with Svelte v5 tooling (PR #6020).

```
/Users/daviddalbusco/projects/dfinity/nns-dapp/frontend/src/lib/modals/neurons/SplitNnsNeuronModal.svelte
  1:19  error  Unrecognized attribute — should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it
https://svelte.dev/e/script_unknown_attribute(script_unknown_attribute)  svelte/valid-compile
```

Signed-off-by: David Dal Busco <[email protected]>
  • Loading branch information
peterpeterparker authored Dec 17, 2024
1 parent 8622776 commit 226039f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/modals/neurons/SplitNnsNeuronModal.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" xmlns:svelte="http://www.w3.org/1999/html">
<script lang="ts">
import CurrentBalance from "$lib/components/accounts/CurrentBalance.svelte";
import AmountInput from "$lib/components/ui/AmountInput.svelte";
import { icpAccountsStore } from "$lib/derived/icp-accounts.derived";
Expand Down

0 comments on commit 226039f

Please sign in to comment.