Skip to content

Commit

Permalink
fix: rename realtime to real-time
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 1, 2024
1 parent 89e114e commit d270375
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/Connection/Connection.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jest.mock('../../firebase/database', () => ({

const mockedOnConnected = jest.mocked(onConnected);

const message = 'Unable to connect to server. Realtime updates are paused.';
const message =
'Unable to connect to the server. Real-time updates are paused.';

jest.useFakeTimers();

Expand Down
2 changes: 1 addition & 1 deletion src/components/Connection/Connection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Connection() {
open={open && !connected}
>
<Alert onClose={handleClose} severity="error">
Unable to connect to server. Realtime updates are paused.
Unable to connect to the server. Real-time updates are paused.
</Alert>
</Snackbar>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/Features/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const features = [
{
icon: BoltIcon,
heading: 'Fast',
description: 'Work in realtime with others—online and offline.',
description: 'Work in real-time with others—online and offline.',
},

{
Expand Down

0 comments on commit d270375

Please sign in to comment.