Skip to content

Commit

Permalink
Client: Tidy up global usings
Browse files Browse the repository at this point in the history
  • Loading branch information
Xian55 committed Oct 21, 2022
1 parent cc68356 commit 59affbe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Client/Pages/Index.razor
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@page "/"

<h1>Dashboard</h1>
<h1>Welcome</h1>
1 change: 1 addition & 0 deletions Client/Pages/Sensor.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@page "/sensor"
@page "/sensor/{Id:guid}"

@inject ISensorService sensorService

@if (!Id.HasValue)
Expand Down
4 changes: 2 additions & 2 deletions Client/Pages/SensorReports.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/sensorreports/{Id:guid}"
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication

@inject ISensorReportsService SensorReportsService
@inject NavigationManager navigationManager

Expand All @@ -14,8 +14,8 @@
<thead>
<tr>
<th>Time</th>
<th>TempF</th>
<th>TempC</th>
<th>TempF</th>
<th>Usage</th>
<th><i>Actions</i></th>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion Client/Pages/Sensors.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/sensors"
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication

@inject ISensorService SensorService
@inject NavigationManager navigationManager

Expand Down
1 change: 1 addition & 0 deletions Client/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.WebAssembly.Http
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
@using Microsoft.JSInterop
@using ComplexPrototypeSystem.Client
@using ComplexPrototypeSystem.Client.Shared
Expand Down

0 comments on commit 59affbe

Please sign in to comment.