refactor(front-end): pass server uuid to the Preview component to fetch server preview image

main
Josue 3 years ago committed by Tsu-ba-me
parent c0d4e1132e
commit 16e820d4c1
  1. 6
      striker-ui/pages/server/index.tsx

@ -39,7 +39,11 @@ const Server = (): JSX.Element => {
{typeof uuid === 'string' && {typeof uuid === 'string' &&
(previewMode ? ( (previewMode ? (
<Box className={classes.preview}> <Box className={classes.preview}>
<Preview setMode={setPreviewMode} serverName={server_name} /> <Preview
setMode={setPreviewMode}
uuid={uuid}
serverName={server_name}
/>
</Box> </Box>
) : ( ) : (
<Box className={classes.fullView}> <Box className={classes.fullView}>

Loading…
Cancel
Save