Skip to content

Commit

Permalink
fix: 修復 css isolation 失效的問題
Browse files Browse the repository at this point in the history
  • Loading branch information
aa89227 committed Jun 13, 2024
1 parent abf6b76 commit 7b4ccc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Clients/Monopoly.Clients.Web/Pages/DevPage.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace Client.Pages;

public partial class DevPage
{
private List<DevPlayer> _players = [];
private List<DevRoom> _rooms = [];
private readonly List<DevPlayer> _players = [];
private readonly List<DevRoom> _rooms = [];
private string PlayerName { get; set; } = Guid.NewGuid().ToString();
private DevPlayer? SelectedPlayer { get; set; }
private DevPlayer? HostToCreateRoom { get; set; }
Expand Down Expand Up @@ -71,7 +71,7 @@ private async Task CreateRoomAsync()
PlayersToCreateRoom.Clear();
}

private string ReadyRoomUrl(DevPlayer devPlayer, DevRoom devRoom)
private static string ReadyRoomUrl(DevPlayer devPlayer, DevRoom devRoom)
{
// navigate to {devRoom.Url}?token={devPlayer.Token.RowData}
return $"{devRoom.Url}?token={devPlayer.Token.RawData}";
Expand Down
2 changes: 1 addition & 1 deletion Clients/Monopoly.Clients.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<base href="/" />
<link href="css/app.css?version=0.32" rel="stylesheet" />

<link href="Monopoly.Web.styles.css" rel="stylesheet" />
<link href="Monopoly.Clients.Web.styles.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
</head>

Expand Down

0 comments on commit 7b4ccc4

Please sign in to comment.