Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix #2546. Do not add version number to lib.module.js file (because t…
…hen it will be included twice and that does funky stuff)
  • Loading branch information
vnbaaij committed Aug 22, 2024
commit bb4cd9a475f5cee1e81a04560161022a9d469167
3 changes: 1 addition & 2 deletions src/Core/DesignTokens/DesignToken.razor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
using Microsoft.JSInterop;

namespace Microsoft.FluentUI.AspNetCore.Components.DesignTokens;
Expand Down Expand Up @@ -74,7 +73,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)

private async Task InitJSReferenceAsync()
{
_jsModule ??= await JSRuntime.InvokeAsync<IJSObjectReference>("import", JAVASCRIPT_FILE.FormatCollocatedUrl(LibraryConfiguration));
_jsModule ??= await JSRuntime.InvokeAsync<IJSObjectReference>("import", JAVASCRIPT_FILE);
}

#pragma warning disable VSTHRD200 // Use "Async" suffix for async methods
Expand Down