-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Demo broken page
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
import { FC } from 'react' // we need this to make JSX compile | ||
import {FC, useEffect} from 'react' | ||
import ErrorMessage from "components/ErrorMessage"; // we need this to make JSX compile | ||
|
||
type BrokenPageType = {} | ||
|
||
const BrokenPage: FC<BrokenPageType> = ({}) => { | ||
throw new Error('An example error') | ||
return <></> | ||
useEffect(()=>{ | ||
setTimeout(()=>{ | ||
throw new Error("An example error") | ||
},0) | ||
},[]) | ||
return <div | ||
data-test='features-page' | ||
id='features-page' | ||
className='app-container container' | ||
> | ||
<ErrorMessage error={"An example error"}/> | ||
</div> | ||
} | ||
|
||
export default BrokenPage |
61001ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
flagsmith-frontend-staging – ./frontend
flagsmith-frontend-staging-git-main-flagsmith.vercel.app
flagsmith-staging-frontend.vercel.app
flagsmith-frontend-staging-flagsmith.vercel.app
staging.flagsmith.com
61001ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
flagsmith-frontend-preview – ./frontend
flagsmith-frontend-production-native.vercel.app
flagsmith-frontend-preview-flagsmith.vercel.app
flagsmith-frontend-preview-git-main-flagsmith.vercel.app
61001ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./docs
docs-flagsmith.vercel.app
docs.flagsmith.com
docs.bullet-train.io
docs-git-main-flagsmith.vercel.app