diff --git a/Components/EditPicDialog.razor b/Components/EditPicDialog.razor
index 7bc5639..84d4fdf 100644
--- a/Components/EditPicDialog.razor
+++ b/Components/EditPicDialog.razor
@@ -1,5 +1,6 @@
@inject IJSRuntime JS
@inject State State
+@inject RestService api