Skip to content

Commit cd2ddc3

Browse files
committed
bump version to 0.5
1 parent 72e966f commit cd2ddc3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

components/linkcard.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ export default function LinkCard({
3939
}
4040
// logic to test comment settings data and reset
4141
// reset(item);
42+
if (
43+
cardInfo.borderRadius !== item.borderRadius ||
44+
cardInfo.textColor !== item.textColor ||
45+
cardInfo.bgColor !== item.bgColor
46+
) {
47+
// console.log("reset after common settings change");
48+
reset(item);
49+
setCardInfo(item);
50+
}
4251
}, [item]);
4352

4453
watch((data, { type }) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linkin",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"private": true,
55
"license": "MIT",
66
"description": "Linkin is a customizable self hosted link tree application",

0 commit comments

Comments
 (0)