Skip to content

Commit 99299a3

Browse files
committed
fix: grammar and custom status
1 parent 8eb41d0 commit 99299a3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/components/Bio/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const About: FC = () => {
3131
<Text bold>
3232
<DynamicTime />
3333
</Text>{' '}
34-
for me in <Text bold>{currentCity}</Text>; <DynamicCurrentStatus />
34+
for me in <Text bold>{currentCity}</Text>. <DynamicCurrentStatus />
3535
</Text>
3636
</div>
3737

src/services/copy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export const TAGLINES = [
2828
*/
2929

3030
export const PREFIXES = [
31-
"99% of the time, I'm",
3231
"I'm probably",
3332
"I'm most likely",
3433
"There's a good chance I'm",

src/services/store/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ const createSiteStore = (initialProps: TPageInitialProps) => {
4848
const prefix = getRandomItem(PREFIXES);
4949
const activity = getRandomItem([
5050
...ACTIVITIES,
51-
new Array(ACTIVITIES.length).fill(initialProps.customStatus), // larger weight for custom status
51+
...(initialProps.customStatus
52+
? new Array(ACTIVITIES.length).fill(initialProps.customStatus) // larger weight for custom status
53+
: []),
5254
]);
5355

5456
const status = `${prefix} ${activity}.`;

0 commit comments

Comments
 (0)