Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo in prompts #119

Merged
merged 2 commits into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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