Skip to content

Commit

Permalink
fix: typo in prompt (#119)
Browse files Browse the repository at this point in the history
Co-authored-by: Tanner Krewson <[email protected]>
  • Loading branch information
jamestelfer and tannerkrewson authored Oct 27, 2024
1 parent 85218bb commit 87e6608
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions components/layout/GameLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const GameLayout = ({

const promptMute = useCallback(() => {
fireModal({
title: "Are your sure?",
title: "Are you sure?",
text: "New chat messages won't appear over your game, but you can still see them in the menu!",
showCancelButton: true,
confirmButtonText: "Mute chat",
Expand Down Expand Up @@ -189,7 +189,7 @@ const GameLayout = ({
hostOnly: false,
onClick: useCallback(() => {
fireModal({
title: "Are your sure?",
title: "Are you sure?",
text:
"If reloading doesn't fix your issue, tell your party host, " +
hostName +
Expand All @@ -213,7 +213,7 @@ const GameLayout = ({
hostOnly: true,
onClick: useCallback(() => {
fireModal({
title: "Are your sure?",
title: "Are you sure?",
text:
"Your current session in " +
thisGame.name +
Expand All @@ -237,7 +237,7 @@ const GameLayout = ({
hostOnly: true,
onClick: useCallback(() => {
fireModal({
title: "Are your sure?",
title: "Are you sure?",
text:
"Your current session in " +
thisGame.name +
Expand All @@ -257,7 +257,6 @@ const GameLayout = ({
}, [fireModal, igLogEvent, onExitGame, thisGame.name]),
},
];

const hideAllWindows = useCallback(() => {
setShowGameLibrary(false);
setShowPlayerList(false);
Expand Down
2 changes: 1 addition & 1 deletion components/party/PartyScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const PartyScreen = ({

const promptLeave = useCallback(() => {
fireModal({
title: "Are your sure?",
title: "Are you sure?",
showCancelButton: true,
confirmButtonText: leaveText,
icon: "warning",
Expand Down

0 comments on commit 87e6608

Please sign in to comment.