Skip to content

Commit

Permalink
Deployment of front-end on Azure (#671)
Browse files Browse the repository at this point in the history
* Test engine change in package.json

* Changed name of app

* Fix TS2312: An interface can only extend an object type or intersection of object types with statically known members

* Changed CI branch of Azure
  • Loading branch information
taheeraahmed authored Jan 17, 2023
1 parent a7ad870 commit f3f1692
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "my-app",
"name": "hilfling-frontend",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/auth/ProtectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { ComponentType, FC } from "react";
import { Route, RouteProps } from "react-router-dom";
import { withAuthenticationRequired } from "@auth0/auth0-react";

interface Props extends RouteProps {
type Props = RouteProps & {
element: ComponentType<any>;
}

Expand Down

0 comments on commit f3f1692

Please sign in to comment.