Skip to content

Commit 2392cf3

Browse files
committed
chore: Enable slug editing for superusers
1 parent 99252a5 commit 2392cf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/create/[id]/createBlueprintSteps/PatternDetails.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const PatternDetails = ({
3535
const validationErrors = useCreateBlueprintStore((state) => state.validationErrors);
3636
const [isFileUploading, setIsFileUploading] = useState(false);
3737

38+
const { isAdmin } = useAuthStore();
3839
const { setField } = store;
3940

4041
const [isCheckExistingBlueprintLoading, setIsCheckExistingBlueprintLoading] = useState(false);

0 commit comments

Comments
 (0)