Skip to content

Commit b8e2030

Browse files
committed
Footer spacer
1 parent 2522b0e commit b8e2030

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Utility/Shared/MainLayout.razor

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<div class="link1">
3535
<a href="https://alexhedley.com/Utility-Documentation/" target="_blank">Documentation</a>
3636
</div>
37+
<FluentSpacer />
3738
<div class="link2">
3839
<a href="https://alexhedley.com/Utility/" target="_blank">About</a>
3940
</div>
@@ -67,8 +68,8 @@
6768
Uri uri = new Uri(e.Location);
6869
string pathName = uri.AbsolutePath;
6970
var path = pathName.Split(new []{ "/" }, StringSplitOptions.RemoveEmptyEntries);
70-
71-
await localStorage.SetItemAsync(Constants.LOCAL_STORAGE_TAB, path[^1]);
71+
if (path.Length != 0)
72+
await localStorage.SetItemAsync(Constants.LOCAL_STORAGE_TAB, path[^1]);
7273
}
7374

7475
void IDisposable.Dispose()

0 commit comments

Comments
 (0)