Skip to content

Commit 427cee2

Browse files
authored
Merge pull request #12 from oslabs-beta/laura
Boba cursor lol
2 parents a540bcd + 4b3742e commit 427cee2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

app/src/components/main/Canvas.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { RootState } from '../../redux/store';
1515
import { combineStyles } from '../../helperFunctions/combineStyles';
1616
import renderChildren from '../../helperFunctions/renderChildren';
1717
import { emitEvent, getSocket } from '../../helperFunctions/socket';
18+
import { GiBoba } from "react-icons/gi";
1819

1920
function Canvas(props: {}): JSX.Element {
2021
const state = useSelector((store: RootState) => store.appState);
@@ -239,15 +240,12 @@ function Canvas(props: {}): JSX.Element {
239240
position: 'absolute',
240241
left: remoteCursor.x + 'px',
241242
top: remoteCursor.y - 68 + 'px',
242-
//style
243-
width: '10px',
244-
height: '10px',
245-
borderRadius: '50%',
246-
backgroundColor: '#a5ead6',
243+
//cursor style
244+
fontSize: '40px',
247245
color: '#46c0a5'
248246
}}
249247
>
250-
{' '}
248+
{<GiBoba />}
251249
{remoteCursor.remoteUserName}
252250
</div>
253251
)}

0 commit comments

Comments
 (0)