Skip to content

Commit

Permalink
Rick Link URL
Browse files Browse the repository at this point in the history
  • Loading branch information
aju-alen committed Oct 7, 2024
1 parent 6365fe2 commit 4bb2c7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/pages/UserSubmitSurvey.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import MenuIcon from '@mui/icons-material/Menu';
import Drawer from '@mui/material/Drawer';
import Divider from '@mui/material/Divider';
import MenuItem from '@mui/material/MenuItem';

import { LinkPreview } from '@dhaiwat10/react-link-preview';

const UserSubmitSurvey = () => {
const { surveyId,surveyTitle } = useParams();
Expand Down Expand Up @@ -1231,6 +1231,7 @@ const UserSubmitSurvey = () => {
"url": "https://www.dubaianalytica.com/user-survey/clxl91ta500018xf57ty8g6fl"
}}
/>
<LinkPreview url='https://www.dubaianalytica.com/user-survey/clxl91ta500018xf57ty8g6fl' width='400px' />
<CssBaseline />
<div className=" flex justify-center items-center h-screen">
{(surveyData.surveyResponses > 500) && (<h1 className=' font-bold text-blue-500 text-xl'> This survey has exceeded it's alloted responses. Please contact host.</h1>)}
Expand Down

0 comments on commit 4bb2c7e

Please sign in to comment.